dagr icon indicating copy to clipboard operation
dagr copied to clipboard

Support MarkDown in the various argument and tool usage annotations

Open nh13 opened this issue 9 years ago • 1 comments
trafficstars

Could use: https://github.com/planet42/Laika

Uses are to produce html, pdf, and text documentation for a given command line tool or Dagr.

nh13 avatar Jun 23 '16 20:06 nh13

The current thinking is as follows.

Re-implement the HTML renderer found here: https://github.com/planet42/Laika/blob/master/core/src/main/scala/laika/render/HTML.scala

Adapt the HTML test class here: https://github.com/planet42/Laika/blob/master/core/src/test/scala/laika/render/HTMLRendererSpec.scala

The idea would be to produce a plain-text renderer, suitable for a terminal output. Terminal codes (for coloring, or emphasis, or the like) could be used, either specified in the input markup or based on convention (like we do automatically now).

nh13 avatar Jun 24 '16 00:06 nh13