Re:Markdown Tutorial
by geraldbauer on Monday May 18, 2020 @08:49AM
(#23221646)
Thanks for your kind words (yes, sorry for the missing disclaimer). Texti is slowly evolving :-) The point is NOT to invent new syntax [1], thus, using the established unix-style/shell-style/python-style/ruby-style for comments. For a litte real world examples that generated HTML, LaTeX and Markdown from Texti see https://github.com/texti/texti.github.io/tree/master/samples
PS: The main missing feature (among others) in Markdown and that rocks Wikitext (and Texti too) is built-in (recursive) templates (with optional parameters) using the {{}} syntax.
[1]: I know % is not new because it's used in LaTeX but LaTeX is esoteric compared to Python, Ruby, Shell Scripts, Unix Configs, etc.
Re:Markdown Tutorial
by scrollaway on Monday May 18, 2020 @09:51AM
(#23222287)
Yeah I figured, and I personally really like # for comments in code, but here's a list of reasons why I don't think hash as comment in text is workable, in practice:
#1: That's the only reason.
Re:Markdown Tutorial
by geraldbauer on Monday May 18, 2020 @11:14AM
(#23223342)
FYI: # is already "reserved" in markdown for headings. So in theory markdown is also not workable, in practice :-).
It's kind of like:
1. FC Köln - that's a football club name (and not a list marker). Try it in markdown - same gotcha :-)
Re:Markdown Tutorial
by scrollaway on Monday May 18, 2020 @11:28AM
(#23223564)
Well, that's true, you have a point there ;) It's probably my bias talking. Good luck with the project; I love Markdown, but it's great that other people are exploring alternatives.
Having hash line comments is probably a non-starter in a text format (the latex % syntax is probably a better idea indeed if you want line comments). Also the -- strikethrough -- syntax will probably conflict too much. You want comments to use a syntax which is otherwise nearly unused.