Indentdown
It is a lightweight markup language.
It runs on browsers, runtimes, CLIs and Visual Studio Code.
About "Indentdown live preview" for Visual Studio Code, see:
Indentdown live preview for Visual Studio Code
Examples
Web browsers
<script type="module">
import { Indentdown } from "./Indentdown.js";
console.log(Indentdown.getHtml("Header\n paragraph"));
</script>
Runtimes
import { Indentdown } from "jsr:@kenta/test";
console.log(Indentdown.getHtml("Header\n paragraph"));
CLIs
$ echo -e 'Header\n Paragraph' | deno run ./indentdown.ts
or
$ deno run --allow-read ./indentdown.ts ./test.id
Links
Indentdown live preview for Visual Studio Code
Edit Indentdown files with live preview.
To open the preview panel, while editing a file with the ".id" extension, click
the Preview button in the top right corner of the editor or press Alt+I.
