typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Feature request: Definition lists

Open singularitti opened this issue 6 years ago • 19 comments

Typora is a very good tool to organize notes for scientists since it supports MathJax. However, there will be cases where those people write theorems, propositions, lemmas, definitions, etc. If there will be a syntax for writing these, that will be super-great for those people. StackEdit has implemented such syntax and it is open-source:

Markdown
:  Text-to-HTML conversion tool

will be rendered like this image

Hope Typora can provide such syntax, thanks!

singularitti avatar May 29 '18 02:05 singularitti

Yes please! Love this idea. I find myself wanting to do this all the time & tend to use bold & quote blocks but this would be so much neater.

tektrip-biggles avatar Jul 02 '18 11:07 tektrip-biggles

+1 the definition pattern is common in the Java specs also

The name of this feature in Pandoc's terminology for extensions is definition_lists

In general, Pandoc's default set of extensions is very useful, and probably provides a "sweet spot" of default (or optional) features for Typora.

Other Pandoc extensions I use and would like to see in Typora are: shortcut_reference_links: syntax like [foo] as short for [foo][] fenced_divs: fences (with attributes) for <div> elements like :::: {#id .class} bracketed_spans: link-like brackets can be attributed like [my stuff]{.mystyle}

Of course this assumes that Typora would do something with the style, etc., which is probably a large project.

I see that #369 addresses the larger questions about Typora's version of markdown.

One workaround for the lack of definition lists is simply to convert my markdown source to GFM, as pandoc -tgfm < myfile.md > myfile.gfm. That seems to robustly produce a file that typora can read.

rose00 avatar Feb 15 '19 23:02 rose00

+1

I use this feature in almost every document. I'd love to have this feature enabled ❤️

ghost avatar May 09 '19 07:05 ghost

All features of Markdown's basic and extended syntaxes should be supported by Typora. Definition lists are part of the extended syntax. Other elements belonging to the extended syntax, like strikethrough or footnotes, are already supported by Typora. I look forward to the addition of definition lists and the completion of Typora's Markdown syntax support.

unknownterritory avatar Jan 06 '20 04:01 unknownterritory

I would love to see this feature as well.

weilueluo avatar Jan 12 '20 18:01 weilueluo

Ditto!

jpcartailler avatar Jan 13 '20 22:01 jpcartailler

Will love to see this feature as well.

mayank-imeleo avatar Jan 20 '20 07:01 mayank-imeleo

Looking forward for this feature.

volkan-a avatar May 01 '20 08:05 volkan-a

I also agree that pandoc's default extensions are a good feature set for typora. Typora already uses pandoc for rendering anyways.

yifengd avatar Jun 25 '20 21:06 yifengd

Also hoping this becomes a part of Typora!

donaldsoncd avatar Jul 06 '20 06:07 donaldsoncd

Found my way here through the search engines too. Definition lists would be very welcome!

triangulum avatar Jul 08 '20 12:07 triangulum

I'd welcome this feature that is the only formatting feature I'm missing from Typora. This feature is a must have for every type of user, not only for scientists!

MauvaisJoueur avatar Oct 25 '20 14:10 MauvaisJoueur

+1 for the feature request.

Has any decision been made about it?

bobhy avatar Dec 23 '20 22:12 bobhy

Definiton lists have been around since html 1.0 and are supported in quite a few markdown-dialects. Please add support for definition lists. They are unfortunately way too underused and people keep using semantically incorrect markup to simulate them.

markgraf avatar Mar 06 '21 13:03 markgraf

+1 for the feature request

xiaotianxt avatar Oct 06 '22 05:10 xiaotianxt

Any updates?

alexgoussev avatar Nov 27 '22 00:11 alexgoussev

+1 for the feature request

michael-booker avatar Jan 04 '23 20:01 michael-booker

Is there any news on this?

alexgoussev avatar Feb 25 '24 18:02 alexgoussev