Bare concepts to get started with understanding how to initialize a doc
instance using unified-doc
. More details and recipes are covered in further sections.
Simplest example of rendering any content into stringified HTML.
<blockquote> <p><strong>some</strong> markdown content</p> </blockquote>
For any content other than .html
and .md
, we will conveniently render to a code block useful for displaying source code with relevant syntax highlighting.
<pre><code> function greet() { return "hello world"; }</code></pre>