The ditto mark would be escaped with \" to indicate that the quotation mark should be rendered literally.įor column spanning, we think adopting an existing syntax from MultiMarkdown is the best path forward: | Sloth name | Sloth colors | Sloth powers | Here’s an example of a Markdown table that includes row spanning with the new ditto syntax: # Examples In a Markdown table it would be used for this same purpose – to indicate that the above cell contains information that should be conveyed in the current one. It’s often used in math since it can more clearly convey what is actually changing between two lines of an equation. The ditto mark is generally used in hand-writing as a shorthand to indicate that a given line should be the same as the one above. – Ditto Definition & Meaning | Britannica Dictionary We propose adding the following syntax to Markdown tables: the “ditto mark”.Ī pair of marks " used underneath a word to save space and show that the word is repeated where the marks are By researching existing discussions on the topic in the CommonMark forums, we’ve developed a solution that preserves Markdown’s philosophy of using punctuation characters to convey formatting in a way that is still readable in plain text and renders in a reasonable way with standard Markdown parsers. Proposed Solutionįor row spanning specifically, there isn’t much prior art in commonly-used, shipping Markdown parsers for us to pull from. In keeping with the philosophy of Markdown, we’d like to enhance the Swift Project’s fork of GitHub Flavored Markdown to add support for this feature in a way that continues to be backwards compatible with standard Markdown parsers. Row and column spanning is a common tool documentation authors reach for when conveying complex information in a table but is currently unsupported in both CommonMark and GitHub Flavored Markdown. This will affect existing clients of Swift’s cmark-gfm fork who choose to opt into the enhancement – including Swift Markdown and Swift-DocC. Victoria ( and I are excited to pitch an enhancement to Swift-DocC’s Markdown support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |