Re: Markdown in posts
Reply #1 –
Its quite a bit different than that old post, however I don't see any reason why it could not be backported to 1.1 as the BBC parsing engine is mostly the same.
In 2.0 the specific parser is in the BBC directory, called MarkdownParser.php and if you look at that it only supports a handful of tags (more could be added).
> quote this --> must be at start of a line --- for a hr/rule --> must be start of line
And the last one supported is
`` place your inline code between tic makrsfor code tags these can occur anywhere you like
You would use the above file, and then make several edits to BBCParser.php so it makes the calls in the right spots. You could start by trying these edits https://github.com/elkarte/Elkarte/commit/2a09f1f3a886d2e72d5c67d3d75890fe01d3c7ef#diff-468eb79dae407e0d904a413cf5c6de1b7eb09caefb103591c754c67dd97d4702 plus the above file and see where that gets you