See doubledown.dbl.txt (or the HTML version) for an overview of the DoubleDown syntax.
-
Install node.js.
-
Run:
npm install
- Set up your path to include the
dbldwn/
folder.
Just create a text file containing DoubleDown markup. No specific extension
required, but please use .dbl.txt
for clarity.
To convert a file to HTML:
dbldwn --in <your file> --as html --out <html file>
To convert a file to JSON:
dbldwn --in <your file> --as json --out <json file>
To convert a file to Markdown:
dbldwn --in <your file> --as md --out <markdown file>
Note: Markdown conversion is currently incomplete. By design it may also be lossy, depending on the input document.