Adding Markdown to Ddoc

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Dec 9 01:38:00 UTC 2017


On Fri, Dec 08, 2017 at 05:34:31PM -0800, Walter Bright via Digitalmars-d wrote:
> On 12/8/2017 3:10 AM, Seb wrote:
[...]
> > https://unicode.org/emoji/charts/full-emoji-list.html
> 
> Thanks for the link, I didn't know that browsers supported them yet.
> 
> If you want to use them, just use the existing syntax to do it:
> 
>     \u25B6   right arrow
> 
> D already has support for lots of named entities:
> 
>     https://dlang.org/spec/entity.html
> 
> There doesn't seem much point in adding a third method of naming
> entities.  Besides, you can always create a macro to name them
> anything you please:
> 
>     RIGHTARROW=\u25B6
> 
> and use it:
> 
>     $(RIGHTARROW)

Yeah, I think emojis are not worth adding special syntax for.  They are
just too much effort for something marginal to documenting code, that we
shouldn't be wasting time trying to support them or debate about them.


T

-- 
Food and laptops don't mix.


More information about the Digitalmars-d mailing list