Re: markdown parsers (was Re: replacing static-site-generator with Tiki)

Marc Laporte <[email protected]>
Newsgroups gmane.comp.cms.tiki.user
Message-ID <CABd-EREu8oCE4rR1seHhszb8jYTVw1aZyb9q_XkfHK4Qy-mtpw@mail.gmail.com>
below


On Monday, October 1, 2018, Saša Janiška <gour-XQYBc/g6bItWk0Htik3J/[email protected]> wrote:

> On Sun, 30 Sep 2018 19:21:45 -0400
> Marc Laporte <[email protected]> wrote:
>
> > I am optimistic that adding support for blocks of text like the
> > following {COMMONMARK()} This is [an example](http://example.com/
> > "Title") inline link. {COMMONMARK} will happen soon because it's very
> > little work. All the heavy lifting is already done by the libs.
> > 1- Add a lib from https://packagist.org/search/?tags=markdown
> >
> > 2- Make a wiki plugin:
> > https://dev.tiki.org/Code-Howto%3A-Create-a-Wiki-Plugin
>
> OK, I should try how it would work with markdown-extra.
>
>
Super!




> > Adding an option for page by page choice of parser is a much bigger
> > project. The more we converge on fewer syntaxes, the better support
> > will be.
>
> OK.
>
> > Which parser would you choose? From
> > https://packagist.org/search/?tags=markdown
>
> One of the most common complaints against Markdown is that it is too
> simple for more serious usage and that is the reason why there are so
> many flavours of markdown. Moreover, it seems that CommonMark does not
> solve it.
>
>
ah, that is unfortunate. And most odd. They did a lot of work to
standardize. I would have thought it would have included what would cover
"serious usage"




> Otoh, PHP Markdown Extra is supported by Pandoc (both reader and
> writer), so, this one looks good.:
>
> https://packagist.org/packages/michelf/php-markdown
>
> https://michelf.ca/projects/php-markdown/extra/
>
> https://github.com/michelf/php-markdown
>
> although, based on
> https://packagist.org/packages/erusev/parsedown-extra, several
> modern CMS-es uses that extension (e.g. Grav) and it seems to be very
> fast:
>
> https://github.com/erusev/parsedown
>
> However, one thing is clear - parser which does support Markdown Extra
> and not CommonMark.
>
>

ok

Another thing to keep on the radar:
https://doc.tiki.org/Syntax-Highlighter

Thanks!




>
> Sincerely,
> Gour
>
>
>
> --
> Not by merely abstaining from work can one achieve freedom
> from reaction, nor by renunciation alone can one attain perfection.
>
>
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>


-- 
Marc Laporte

http://WikiSuite.org
http://PluginProblems.com
http://Avan.Tech

_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.