Tinderbox Forum

How to set TBX up to use Markdown?

Forgive me if this is obvious, but as a new Tinderbox user, I can’t figure out what I need to do to be able to write in Markdown within Tinderbox. Searching this forum and online, I can’t find much useful information. Do I need to install or create a prototype or configure TBX in some other way?

1 Like

The simplest approach is to add the Markdown prototype to a document, and use it. See File > Built-In Prototypes.

Here’s an example.

Markdown Sample.tbx (78.2 KB)

Thank you! Very helpful.

After using the built-in Markdown prototype, TB is generating Markdown Previews for me, but not handling the Markdown the way it should, e.g., it displays headings as ordered lists, and is not displaying my unordered lists as bullets, nor is it handling nested lists properly (e.g., second level list items are preceded by <block quote> and displayed as code).

Not sure what I’m doing wrong?

Please post a sample file.

Markdown display problems.tbx (76.0 KB)

Here’s the file, fixed. When using $HMTLPreviewCommand it is necessary that $HTMLMarkupText == false. If we use the built-in Markdown prototype as the starting point as suggested above, and then revising it as needed, we do not get the error.

Markdown display problems_revised.tbx (92.9 KB)

4 Likes

Excellent. Thank you so much.

1 Like

Thank you @PaulWalters

1 Like