careteditor / issues

Caret issues
https://caret.io
325 stars 12 forks source link

Definition lists support #171

Open matchatype opened 7 years ago

matchatype commented 7 years ago

It's a rather uncommon use case, but quite handy. When a list is not enough and a table just adds too much drama to your markup, a definition list is all you need 😌

BsNoSi commented 7 years ago

Not that uncommon – I use it frequently.

It is part of markdown extra and very useful, if you want to describe a dialog or something like that. I miss this, too.

BsNoSi commented 6 years ago

Caret behaves differently to your markdown parser (see issue). Depending to the formatting of definitions, footnotes can get lost.

psoukie commented 6 years ago

The definition lists are implemented in Python-Markdown, Kramdown, Maruku and Markdown Extra. Multi-paragraph (block level) definitions should be indented with four spaces, in which case the footnotes function correctly (at least in pandoc).

manngo commented 6 years ago

I must admit that I initially bought Caret not for what it does, but because I wanted to support the developers of the excellent Parsedown library for PHP. Among other things, Parsedown supports Parsedown Extra, which, in turn supports definition lists.

Apart from Tables and Code blocks, definition lists — now Description Lists in HTML5 — are the most useful Markdown extension. I do a lot of technical notes and documents, and I have spent a lot of time looking for editors which do support these features.

erusev commented 6 years ago

@manngo Thanks for the input! We plan to add support for definition lists and other Markdown block types as soon as the core features of the app are stable.