You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Borrowing from https://github.com/joeyespo/grip/blob/master/tests/input/github.md to test conversion of GFM to Jira's weird-ass document format. Some of this will not come through; I'm supporting what I can for now, but want to at least make sure my script doesn't blow up in some horrible way. Apparently Atlassian's interpretation of the robustness principle is that it means YELLING AT YOU, THE HAPLESS API CLIENT.
Testing sync workflow another time
GitHub Flavored Markdown Test
This Markdown file contains all the features of GitHub Flavored Markdown for
testing a renderer with.
Note that Markdown formatting syntax is not processed within block-level HTML tags.
E.g., you can’t use Markdown-style *emphasis* inside an HTML block.
Span-level HTML tags — e.g. <span>, <cite>, or <del> — can be used anywhere
in a Markdown paragraph, list item, or header. If you want, you can even use HTML tags instead
of Markdown formatting; e.g. if you’d prefer to use HTML <a> or <img> tags instead
of Markdown’s link or image syntax, go right ahead.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This is an H2 (Setext-style)
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
The following are atx-style.
This is an H1
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This is an H2
Mauris feugiat, augue vitae sollicitudin vulputate, neque arcu dapibus eros, eget semper lorem ex rhoncus nulla.
This is an H3
Etiam sit amet orci sit amet dui mollis molestie.
This is an H4
Cras et elit egestas, lacinia est eu, vestibulum enim.
This is an H5
Phasellus sed suscipit quam.
This is an H√36
Nam rutrum imperdiet purus, sit amet porttitor augue tempor quis.
Blockquotes
Email-style blockquotes:
This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.
Putting the > before the first line of a hard-wrapped paragraph:
This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.
Nested blockquotes (i.e. a blockquote-in-a-blockquote):
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
Second:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
Paragraphs and lists
Bird
Magic
Blank line separated:
Bird
Magic
Paragraphs within lists
First:
This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
Second:
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're
only required to indent the first line. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit.
Another item in the same list.
Blockquote within a list
A list item with a blockquote:
This is a blockquote
inside a list item.
Code within a list
A list item with a code block:
<code goes here>
Accidental lists
What a great season. (oops, I wanted a year, not a list)
1986. What a great season. (whew! there we go)
Code blocks
This is a normal paragraph:
This is a code block.
Here is an example of AppleScript:
tell application "Foo"
beep
end tell
Markdown will handle the hassle of encoding the ampersands and angle brackets:
Borrowing from https://github.com/joeyespo/grip/blob/master/tests/input/github.md to test conversion of GFM to Jira's weird-ass document format. Some of this will not come through; I'm supporting what I can for now, but want to at least make sure my script doesn't blow up in some horrible way. Apparently Atlassian's interpretation of the robustness principle is that it means YELLING AT YOU, THE HAPLESS API CLIENT.
Testing sync workflow another time
GitHub Flavored Markdown Test
This Markdown file contains all the features of GitHub Flavored Markdown for
testing a renderer with.
The features are taken directly from Daring Fireball
and GitHub Flavored Markdown,
followed by a list of one-offs.
Inline HTML
Span-level HTML tags — e.g. <span>, <cite>, or <del> — can be used anywhere
in a Markdown paragraph, list item, or header. If you want, you can even use HTML tags instead
of Markdown formatting; e.g. if you’d prefer to use HTML <a> or <img> tags instead
of Markdown’s link or image syntax, go right ahead.
Testing span, cite, and
deltagsTesting span, cite, and
deltags in a paragraph.And each element in its own list item:
This is within a del tag.Automatic escaping for special characters
Note that GitHub Flavored Markdown has URL autolinking, which will not
convert
&
. So these two should yield different links:Paragraphs and line breaks
This is a normal paragraph.
This and the next sentence is separated by a single newline.
This should be on the same line.
This and the next sentence is joined by a single
<br />
.This should be on a new line, directly below.
These two sentences are separated by two
<br />
tags.This should be two lines below.
These two paragraphs are separated by two
<br />
tags.This should be three lines below.
Headers
Here are some headers followed by Lorem Ipsum.
This is an H1 (Setext-style)
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This is an H2 (Setext-style)
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
The following are atx-style.
This is an H1
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This is an H2
Mauris feugiat, augue vitae sollicitudin vulputate, neque arcu dapibus eros, eget semper lorem ex rhoncus nulla.
This is an H3
Etiam sit amet orci sit amet dui mollis molestie.
This is an H4
Cras et elit egestas, lacinia est eu, vestibulum enim.
This is an H5
Phasellus sed suscipit quam.
This is an H√36
Nam rutrum imperdiet purus, sit amet porttitor augue tempor quis.
Blockquotes
Email-style blockquotes:
Putting the > before the first line of a hard-wrapped paragraph:
Nested blockquotes (i.e. a blockquote-in-a-blockquote):
Blockquotes containing other Markdown elements:
Lists
These three lists should be equivalent
First:
Second:
Third:
These three ordered lists should be equivalent
First:
Second:
Third:
These two lists should be equivalent
First:
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
Suspendisse id sem consectetuer libero luctus adipiscing.
Second:
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
Suspendisse id sem consectetuer libero luctus adipiscing.
Paragraphs and lists
Blank line separated:
Bird
Magic
Paragraphs within lists
First:
This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
Second:
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're
only required to indent the first line. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit.
Another item in the same list.
Blockquote within a list
A list item with a blockquote:
Code within a list
A list item with a code block:
Accidental lists
1986. What a great season. (whew! there we go)
Code blocks
This is a normal paragraph:
Here is an example of AppleScript:
Markdown will handle the hassle of encoding the ampersands and angle brackets:
print('Code block')
Horizontal rules
Links
Markdown supports two style of links: inline and reference.
This is an example inline link.
This link has no title attribute.
See my About page for some awesome people (note: broken link).
This is an example reference-style link.
This is [an example] id reference-style link with a space separating the brackets.
These should all be equivalent:
Emphasis
Code
printf()
function.There is a literal backtick (`) here.
`
`foo`
<blink>
tags.—
is the decimal-encoded equivalent of—
Images
Automatic links
Backslash escapes
GitHub Flavored Markdown
See GitHub Flavored Markdown for details.
Multiple underscores in words
URL autolinking
http://joeyespo.com
Strikethrough
Mistaken text.Fenced code blocks
Syntax highlighting
Tables
Simple:
Pipes:
Unmatched:
Inner Markdown:
Display thehelp window.Alignment:
HTML
TODO: Test all allowed HTML tags.
Writing on GitHub
See this article for details.
Newlines
Roses are red
Violets are Blue
Task lists
tagsare supportedTask lists can be nested to better structure your tasks:
References
The text was updated successfully, but these errors were encountered: