How to view .docs or .docx as preview or another tab in discourse

Not directly word documents. But the 2nd part “as pdf”. There is a theme-component or plugin for inline pdf viewing.

Plugin

A doc preview component would be awesome.