Definitions are authored in reStructuredText as it offers the necessary shorthand syntax and supports a fair subset of common Markdown syntaxes which minimizes both conversion and learning burdens for contributors.
Last active
July 19, 2018 16:40
-
-
Save SMotaal/b8b3f548f35b34d11fcfe5e7024b8b7f to your computer and use it in GitHub Desktop.
Node.js Modules: Terminology: Contribution
-
Definition List
- Term 1
-
Definition paragraph 1.
Definition paragraph 2.
- Term 2
-
Definition paragraph 1.
Definition paragraph 2.
Github Flavoured Markdown (GFM) (and other mainstream flavours) do not
have a commonly accepted syntax for definition list elements, including
<dl>
Definition List, <lh>
List Header, <dt>
Definition Term, or
<dd>
Definition.
It naturally follows that for our specific goals, it would be counter productive to use raw html for in most major features of the documents, which is where RST comes in.
Markdown
<dl>
<lh> Definition List
<dt> Term 1
<dd>
<p> Definition paragraph 1.
<p> Definition paragraph 2.
<dt> Term 2
<dd>
<p> Definition paragraph 1.
<p> Definition paragraph 2.
reStructuredText
Definition Lists
----------------
Term 1
Definition paragraph 1.
Definition paragraph 2.
Term 2
Definition paragraph 1.
Definition paragraph 2.
Normal paragraph
Normal paragraph.
Normal paragraph.
Normal paragraph.
Normal paragraph.
"
Heading 6 """"""""""""""
Normal paragraph.
There is kind of a +1 thing going on here compared to markdown
Normal paragraph.
Normal paragraph.
Normal paragraph.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment