Skip to content

Commit ae9740c

Browse files
committed
Docs
1 parent 6ba6a10 commit ae9740c

File tree

1 file changed

+162
-0
lines changed

1 file changed

+162
-0
lines changed

README.md

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,168 @@ And some additional, more advanced options:
332332
</details>
333333

334334

335+
<details><summary>All Markdown for Testing</summary>
336+
<p>
337+
338+
This is all of the markdown in one place for testing that your applied styles work in all cases
339+
340+
```
341+
Headings
342+
343+
# h1 Heading 8-)
344+
## h2 Heading
345+
### h3 Heading
346+
#### h4 Heading
347+
##### h5 Heading
348+
###### h6 Heading
349+
350+
351+
Horizontal Rules
352+
353+
Some text above
354+
___
355+
356+
Some text in the middle
357+
358+
---
359+
360+
Some text below
361+
362+
363+
Typographic Replacements
364+
365+
Enable typographer option to see result.
366+
367+
(c) (C) (r) (R) (tm) (TM) (p) (P) +-
368+
369+
test.. test... test..... test?..... test!....
370+
371+
!!!!!! ???? ,, -- ---
372+
373+
"Smartypants, double quotes" and 'single quotes'
374+
375+
376+
Emphasis
377+
378+
**This is bold text**
379+
380+
__This is bold text__
381+
382+
*This is italic text*
383+
384+
_This is italic text_
385+
386+
~~Strikethrough~~
387+
388+
389+
Blockquotes
390+
391+
> Blockquotes can also be nested...
392+
>> ...by using additional greater-than signs right next to each other...
393+
> > > ...or with spaces between arrows.
394+
395+
396+
Lists
397+
398+
Unordered
399+
400+
+ Create a list by starting a line with `+`, `-`, or `*`
401+
+ Sub-lists are made by indenting 2 spaces:
402+
- Marker character change forces new list start:
403+
* Ac tristique libero volutpat at
404+
+ Facilisis in pretium nisl aliquet
405+
- Nulla volutpat aliquam velit
406+
+ Very easy!
407+
408+
Ordered
409+
410+
1. Lorem ipsum dolor sit amet
411+
2. Consectetur adipiscing elit
412+
3. Integer molestie lorem at massa
413+
414+
415+
1. You can use sequential numbers...
416+
1. ...or keep all the numbers as `1.`
417+
418+
Start numbering with offset:
419+
420+
57. foo
421+
1. bar
422+
423+
424+
Code
425+
426+
Inline \`code\`
427+
428+
Indented code
429+
430+
// Some comments
431+
line 1 of code
432+
line 2 of code
433+
line 3 of code
434+
435+
436+
Block code "fences"
437+
438+
\`\`\`
439+
Sample text here...
440+
\`\`\`
441+
442+
Syntax highlighting
443+
444+
\`\`\` js
445+
var foo = function (bar) {
446+
return bar++;
447+
};
448+
449+
console.log(foo(5));
450+
\`\`\`
451+
452+
453+
Tables
454+
455+
| Option | Description |
456+
| ------ | ----------- |
457+
| data | path to data files to supply the data that will be passed into templates. |
458+
| engine | engine to be used for processing templates. Handlebars is the default. |
459+
| ext | extension to be used for dest files. |
460+
461+
Right aligned columns
462+
463+
| Option | Description |
464+
| ------:| -----------:|
465+
| data | path to data files to supply the data that will be passed into templates. |
466+
| engine | engine to be used for processing templates. Handlebars is the default. |
467+
| ext | extension to be used for dest files. |
468+
469+
470+
Links
471+
472+
[link text](http://dev.nodeca.com)
473+
474+
[link with title](http://nodeca.github.io/pica/demo/ "title text!")
475+
476+
Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
477+
478+
479+
Images
480+
481+
![Minion](https://octodex.github.com/images/minion.png)
482+
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
483+
484+
Like links, Images also have a footnote style syntax
485+
486+
![Alt text][id]
487+
488+
With a reference later in the document defining the URL location:
489+
490+
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
491+
```
492+
493+
</p>
494+
</details>
495+
496+
335497
# Rules
336498

337499
Rules are used to specify how you want certain elements to be displayed. The existing implementation is [here](https://github.com/iamacup/react-native-markdown-display/blob/master/src/lib/renderRules.js)

0 commit comments

Comments
 (0)