This document tests various reStructeredText features when rendered on GitHub. The motivation is to test what kind of styles GitHub uses and how different features actually work here.
Testing reStructuredText support on GitHub *.rst files
Normal text | One backslash | Two backslashes | Comment |
---|---|---|---|
code role |
c:\temp\dir |
c:\\temp\\dir |
|
literal |
c:tempdir |
c:\temp\dir |
|
emphasis | c:tempdir | c:\temp\dir | |
strong | c:tempdir | c:\temp\dir | |
single backticks | c:tempdir | c:\temp\dir | By default alias for title-reference |
literal using duoble backticks |
c:\temp\dir |
c:\\temp\\dir |
Standard alias. |
emphasis using asterisks | c:tempdir | c:\temp\dir | Standard alias. |
strong using double asterisks | c:tempdir | c:\temp\dir | Standard alias. |
Normal text | One backslash | Two backslashes | Comment |
---|---|---|---|
custom role | c:tempdir | c:\temp\dir | |
inheriting role | c:tempdir | c:\temp\dir | |
single backtics |
c:\temp\dir |
c:\\temp\\dir |
Default role changed to code. |
Unordered without indentation:
- First item
- Second
- Third
Unordered with indentation:
- First item
- Second
- Third
Ordered without indentation:
- First item
- Second
- Third
Ordered with indentation:
- First item
- Second
- Third
- Explicit target
- Target with spaces
- Links is implicit target
- Anonymous link
- Embedded URI
- Embedded alias
- http://example.com
\http://example.com
With title and widths:
ID | Type | Priority | Summary |
---|---|---|---|
#42 | Bug | Critical | Just testing here, nothing more |
#1 | Enhancement | Low | Testing, testing, 1 2 3. With very long summary. With very long summary. With very long summary. |
Without title and widths:
ID | Type | Priority | Summary |
---|---|---|---|
#42 | Bug | Critical | Just testing here, nothing more |
#1 | Enhancement | Low | Testing, testing, 1 2 3. With very long summary. With very long summary. With very long summary. |