Skip to content

Instantly share code, notes, and snippets.

@cardoso
Last active September 13, 2017 02:12
Show Gist options
  • Save cardoso/e0ed330dd49f5f865012224b0d65fb3f to your computer and use it in GitHub Desktop.
Save cardoso/e0ed330dd49f5f865012224b0d65fb3f to your computer and use it in GitHub Desktop.
RCMarkdownParserTest.txt
# success tests:
*bold* **bold**
_italic_ __italic__
~struck~ ~~struck~~
*_~bold and italic and struck~_*!! **__~~bold and italic and struck~~__**!!
![test](http://i.imgur.com/oErj2XR.png)
[test](http://rocket.chat)
# header 1
## header 2
### header 3
#### header 4
>>>
This is a
block quote
<<<
> This is an inline quote
`printf("Hello %s!", "World!");`
```
void main() {
printf("Hello %s!", "World!");
}
```
# series of malformed markdown to see if there are any crashes:
***bold*** *bold** **bold* !*bold* *bold*!
___italic_ __italic__ j_italic_j
~~struck~~~ \~struck~\~ ~~struck
*_~bold and italic and struck~_*!! **__~~bold and italic and struck~~__**!!
![test(http://i.imgur.com/oErj2XR.png)
![test](http://i.imgur.com/oErj2XR.png
[test]http://rocket.chat)
[test(http://rocket.chat)
[test](http://rocket.chat
##### header 5
>>>
This is a
block quote
>>>
This is a
block quote
<<
~> This is an inline quote
``printf("Hello %s!", "World!");`
``
void main() {
printf("Hello %s!", "World!");
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment