Markdown
TigYog has an interactive WYSIWYG editor, which works nicely for creating interactive content. But if you’re importing pre-existing content, or you’re a plaintext warrior, you might want to write your content in TigYog-Flavored Markdown (TFM).
The docs below describe a BETA feature. We’re looking for feedback: does it work the way you want? Email Jim!
How to copy-paste Markdown 📋
The TigYog editor supports Markdown. You can convert to and from Markdown using copy-paste.
To get your Markdown content into TigYog, copy it (e.g. from your text editor), then in the TigYog editor, use Ctrl+Shift+V to “Paste as plain text”. (If you use ordinary Ctrl+V, TigYog may detect the content as HTML, and interpret it differently.)
To get Markdown out of the TigYog editor, select any content and use Ctrl+C. It will copy as Markdown on your clipboard.
Ordinary Markdown
TigYog-Flavored Markdown is a superset of ordinary Markdown: if you have pre-existing Markdown, and you paste it into TigYog, it should behave as you expect. For example:
I am **bold**. This is `code`. Here's
some inline math: $i^2 = -1$.
If you copy the above text, and Ctrl-Shift-V, it will appear as: “I am bold. This is code
. Here's some inline math: .”
Buttons
TigYog’s main addition is the “button list”. It’s written as a Markdown list:
What color was that dress?
:buttons{#dress}
- Black and blue :button{#black}
- White and gold :button{#white}
This question was a sensation in 2015.
The above will render as two buttons. After either button is chosen, the paragraph “This question was a sensation in 2015” will appear. Here it is in action — choose a button!
What color was that dress?