![]() Whereas if its indent terminates with (or consists of) 4 space multiples, the last line can be parsed as code: ┌ TreeĪ standardisation which locked out this simple scope for finer representation of document structure, would, I think, be retrogressive. ┇┠┰# Macro point (all nesting below by tab) Unlike other editors, FoldingText does outlining, todo lists, and more. Thus, for example, the last line here: # Macro point (all nesting below by tab)Ĭan be usefully parsed by FoldingText as subordinate (nested) body text if it is purely tab-indented ┌ Tree FoldingText is the markdown text editor with productivity features. The conjunction is unfortunate – it sacrifices (for no clear gain) a valuable distinction in the representation of document structure – between code blocks (indent terminating with four spaces) and nested body text (indent consisting only of tabs). To produce a code block in Markdown, simply indent every line of the block by at least 4 spaces or 1 tab. To concretise, the document-structuring ambiguity arises at this point of Gruber’s first formulation: (In fact I happen to see Gruber’s perfectly understandable failure to anticipate plain text outlining as something more in need of fixing than of unduly reverent fossilisation).īut as long as Pandoc and other tools don’t insist on reading my nested lines as code, I will be happy. Gruber-canonicity seems less valuable to me than that the full representation of nesting structure in plain text documents. I am very much in favour of Haskell-intelligible rigour, and, indeed, of standards, but I would resist any reductive definition which had the effect of limiting (in respect of tab-indentation and code-vs-indented-body ) the range of documents correctly interpreted by compliant tools. I am thinking not of HTML generation (many of my MD outlines become diagrams or MS Word etc rather than HTML), but rather (to use your own formulation) of the use of MD as:Ī plain text format for writing structured documents.Ī standard, unambiguous syntax specification for Markdown, along with a suite of comprehensive tests to validate Markdown implementations against this standard.
0 Comments
Leave a Reply. |