www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16109] New: replace all UL/LI code with markdown syntax

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 puremagic.com
          Reporter: greensunny12 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

--
Jun 01 2016