Re:Org-Mode Is One of the Most Reasonable Markup Languages t...
by lucideer on Wednesday April 10, 2019 @06:18AM
(#19623278)
Furthermore, GFM* has fast become a defacto standard for newer implementations—still a bit of incompatibility, but improving.
* GFM = Github Flavoured Markdown, even if Gitlab have very cheekily taken on the same initialism for their (in fairness, highly compatible) flavour.
Re:Org-Mode Is One of the Most Reasonable Markup Languages t...
by xemdetia on Wednesday April 10, 2019 @12:29PM
(#19626287)
Has anyone found a good GFM to HTML converter that does not call out to a SaaS service (often GitHub)? I keep ending up in use cases where I need to do this conversion or do a live preview without having the data leave the box. When I was looking around previously I found out that under the hood they were using the GitHub API to actually do the preview.
Re:Org-Mode Is One of the Most Reasonable Markup Languages t...
by theandrewbailey on Wednesday April 10, 2019 @02:42PM
(#19627572)
I've used marked for years, and it doesn't make any network calls. In fact, it looks like it does tons of regex.
Re:Org-Mode Is One of the Most Reasonable Markup Languages t...
by tokyodude on Wednesday April 10, 2019 @06:12AM
(#19623260)
there are lots of other issues. AFAICT HTML is allowed inline in markdown but the flowing inline HTML is interpretted differently depending on implementation
some markdown text
<div>
some
**inline**
text
</div>
some more markdown text
some will take that as one block. some will process each line separately. some will convert the asterisks
...
Re:Org-Mode Is One of the Most Reasonable Markup Languages t...
by laumars on Wednesday April 10, 2019 @08:02AM
(#19623766)
HTML inlined into markdown is easily my least favourite feature of markdown. In my opinion it breaks the very point of of MD (namely that it's formatting makes as much sense in a graphical render as it does in a plain text editor).
This argument is valid, but…
> An example is that in Reddit's markdown; this text: [snipped] will all end up as inline code, with all the newlines and extra whitespace stripped out.
This does not validate the argument. Implementations defer to John Gruber’s Markdown Syntax Documentation.[1] It is insufficient to be used as a standard (hence your argument being valid), but does (in some cases) provide a common subset of features compatible everywhere. The “fenced” code block is not included in Gruber’s original Markdown, but became so popular due to GitHub that people come to expect it. It is still not part of “Standard Markdown” though.
[1]: https://daringfireball.net/projects/markdown/syntax