Adding Markdown to Ddoc
Walter Bright
newshound2 at digitalmars.com
Fri Dec 8 10:13:28 UTC 2017
On 12/8/2017 1:48 AM, Jacob Carlborg wrote:
> I think links are pretty important, or do you prefer to use Ddoc macros for that?
I just don't see much of any improvement of markdown over LINK2.
> I think we should try to support standard markdown [2]
Unfortunately, there's really no such thing. But as I said, we do have an
advantage as Ddoc will not likely be importing existing markdown text from
elsewhere, so there's little impetus for compatibility. There's no point to
supporting multiple unordered list syntaxes, for example.
> plus features from GitHub
> markdown. Like fenced code blocks and syntax highlighting [3]. For simplicity we
> can start by only supporting D syntax highlighting.
Ddoc already does code blocks and syntax highlighting.
> Just for the record, the link you included in your original post [1], contains
> some non-standard markdown like:
I know. That's why I produced a list.
> * Task lists
Not relevant for Ddoc.
> * Mentioning people and teams
Not relevant for Ddoc.
> * Referencing issues and pull requests
LINK2
> * Using emoji
The problem with these is where are the images stored? So no.
More information about the Digitalmars-d
mailing list