December 05, 2017 Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
https://help.github.com/articles/basic-writing-and-formatting-syntax/ Anyone interested in picking up the flag? (I know this has come up before, and I've been opposed to it, but I've changed my mind.) |
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | We should probably do the opposite. Build a markdown parser and then have a way to give the output an understanding of ddoc features. It will also be usable in other projects ;) |
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Wednesday, 6 December 2017 at 04:11:33 UTC, Walter Bright wrote:
> https://help.github.com/articles/basic-writing-and-formatting-syntax/
>
> Anyone interested in picking up the flag?
>
> (I know this has come up before, and I've been opposed to it, but I've changed my mind.)
Can you see me jumping up and down over here? I don't care about it for source documentation, but if we could start using Mardkown in place of Ddoc macros for the web site, woohoo!
|
December 05, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On 12/5/2017 8:37 PM, Mike Parker wrote:
> Can you see me jumping up and down over here?
No, but my seismometer is showing some action!
|
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Am 06.12.2017 um 05:11 schrieb Walter Bright: > https://help.github.com/articles/basic-writing-and-formatting-syntax/ > > Anyone interested in picking up the flag? > > (I know this has come up before, and I've been opposed to it, but I've changed my mind.) This is great news! While I don't have the time to work on this directly, I can offer vibe.d's Markdown module* (re-licensing as necessary): https://github.com/vibe-d/vibe.d/blob/master/textfilter/vibe/textfilter/markdown.d Markdown is a strange thing to parse in the classical way due to its original regex-cascade style of implementation/design, so it was kind of difficult to find representations that allow reasonably efficient and comprehensible processing. * There is also "dmarkdown", which is just a fork of the vibe.d code |
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On 12/6/2017 1:33 AM, Sönke Ludwig wrote:
> This is great news! While I don't have the time to work on this directly, I can offer vibe.d's Markdown module* (re-licensing as necessary): https://github.com/vibe-d/vibe.d/blob/master/textfilter/vibe/textfilter/markdown.d
>
> Markdown is a strange thing to parse in the classical way due to its original regex-cascade style of implementation/design, so it was kind of difficult to find representations that allow reasonably efficient and comprehensible processing.
>
> * There is also "dmarkdown", which is just a fork of the vibe.d code
Thanks! It's always great to be able to leverage existing code. But you'll need to Boost license it!
|
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Am 06.12.2017 um 12:34 schrieb Walter Bright:
> On 12/6/2017 1:33 AM, Sönke Ludwig wrote:
>> This is great news! While I don't have the time to work on this directly, I can offer vibe.d's Markdown module* (re-licensing as necessary): https://github.com/vibe-d/vibe.d/blob/master/textfilter/vibe/textfilter/markdown.d
>>
>>
>> Markdown is a strange thing to parse in the classical way due to its original regex-cascade style of implementation/design, so it was kind of difficult to find representations that allow reasonably efficient and comprehensible processing.
>>
>> * There is also "dmarkdown", which is just a fork of the vibe.d code
>
> Thanks! It's always great to be able to leverage existing code. But you'll need to Boost license it!
No problem!
|
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sönke Ludwig | On 12/6/2017 3:37 AM, Sönke Ludwig wrote:
> No problem!
Now, just need someone to step up and do the work. :-/
|
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 12/5/2017 8:11 PM, Walter Bright wrote:
> (I know this has come up before, and I've been opposed to it, but I've changed my mind.)
Part of this change of mind was driven by the bit of markdown that Ddoc already supports - the backticks to quote code and auto detection of URLs - and how nice that has turned out.
|
December 06, 2017 Re: Adding Markdown to Ddoc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Wednesday, 6 December 2017 at 12:13:56 UTC, Walter Bright wrote:
> On 12/5/2017 8:11 PM, Walter Bright wrote:
>> (I know this has come up before, and I've been opposed to it, but I've changed my mind.)
>
> Part of this change of mind was driven by the bit of markdown that Ddoc already supports - the backticks to quote code and auto detection of URLs - and how nice that has turned out.
This is going to be the right time to deprecate the automatic change of some words that happen to be parameter names into code. :)
|
Copyright © 1999-2021 by the D Language Foundation