Nm nvh-markdown

Novus nvh-markdown: .nvmd highlighting (Markdown, frontmatter, <?nv ?> header, {expr}, template blocks, components, containers), snippets, a project template and commands for the .nvmd to .nvh generator.

Install in Lumen: add the server, then pick nvh-markdown from the list.

http://localhost:8730

Version 1.1.0 · Lumen · MIT
Identifier addon.nvh-markdown
1 languages · 1 templates · 1 project kinds · 4 snippets · 7 settings · 1 pages · 1 code
Security: clean

novusnvhmarkdownnvmd

nvh-markdown

Support for nvh-markdown, the Markdown library of Novus: the .nvmd language (Markdown with Novus in it, like .mdx with JSX) and the generator that turns Page.nvmd into Page.nvh.

What it does

fences coloured per language, links, lists, tables, task lists, block quotes), :::note|tip|warning|danger containers, the --- frontmatter, the <?nv ... ?> header as Novus, {expr}, {#if} / {:else} / {/if}, {#for} / {/for}, {@html} and <Component> tags. Braces in code spans and fences stay plain, as in the generator.

generate all .nvmd of the project, show the generated .nvh, generate and check the program, watch in a terminal, remove the generated files. They run novusc run nvmd.nv ....

next to the project, in the replace target of project.nv, or in the copy novusc deps fetched into ~/.novus/deps), content folders, main file for check, --force, generate on save and check while typing.

after a generate/check run, and live with Check while typing.

prose uses as an apostrophe). A word inside <?nv ?>, {expr} and event handlers follows Novus (count-c is count minus c), in Markdown text and tags it keeps - and :. ::: does not close itself, because typing the closing ::: would open a new container.

components, table and fences only in Markdown text), containers, <Callout>, <CodeBlock>, <Toc>, <Markdown>, frontmatter, <?nv ?> header with prop and import, {#if}, {#for}, {@html}, table, task list and code fences per language. The components also come to .nvh files as snippets (<Callout>, <CodeBlock>, <Toc>, <Markdown>, only in *.nvh template text).

a Callout component) and a project kind that recognises a project.nv requiring nvh-markdown.

What it does not do

because where nvmd.nv lives depends on the project.

Needs novusc and, for the commands, a Lumen that supports add-on code (it asks before running it).

Building


node addons/build.mjs nvh-markdown

Settings

Pages

Versions