[Issue 16109] New: replace all UL/LI code with markdown syntax

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 1 03:05:07 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16109

          Issue ID: 16109
           Summary: replace all UL/LI code with markdown syntax
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com

because it's 2016 and having

- a
- b
  - b1
  - b2
- c


instead of the verbose

$(UL
$(LI a)
$(LI $(UL
  $(LI b1)
  $(LI b2)
))
$(LI c)
)

just messes up the source code. As soon as you start to use more macros the
second example get's less readable and maintainable
At the very least we should support the markdown syntax for lists.

https://daringfireball.net/projects/markdown/syntax#list

--


More information about the Digitalmars-d-bugs mailing list