-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
266 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
...cusaurus-plugin-content-docs/src/__tests__/__fixtures__/website/docs/foo/bar.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
id: bar | ||
title: Bar | ||
--- | ||
|
||
# Remarkable | ||
|
||
> Experience real-time editing with Remarkable! | ||
Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. | ||
|
||
*** | ||
|
||
# h1 Heading | ||
## h2 Heading | ||
### h3 Heading | ||
#### h4 Heading | ||
##### h5 Heading | ||
###### h6 Heading | ||
|
||
|
||
## Horizontal Rules | ||
|
||
___ | ||
|
||
*** | ||
|
||
*** | ||
|
||
|
||
## Typographic replacements | ||
|
||
Enable typographer option to see result. | ||
|
||
(c) (C) (r) (R) (tm) (TM) (p) (P) +- | ||
|
||
test.. test... test..... test?..... test!.... | ||
|
||
!!!!!! ???? ,, | ||
|
||
Remarkable -- awesome | ||
|
||
"Smartypants, double quotes" | ||
|
||
'Smartypants, single quotes' | ||
|
||
|
||
## Emphasis | ||
|
||
**This is bold text** | ||
|
||
__This is bold text__ | ||
|
||
*This is italic text* | ||
|
||
_This is italic text_ | ||
|
||
~~Deleted text~~ | ||
|
||
Superscript: 19^th^ | ||
|
||
Subscript: H~2~O | ||
|
||
++Inserted text++ | ||
|
||
==Marked text== |
74 changes: 74 additions & 0 deletions
74
...cusaurus-plugin-content-docs/src/__tests__/__fixtures__/website/docs/foo/baz.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
id: baz | ||
title: baz | ||
--- | ||
|
||
## Images | ||
|
||
Like links, Images also have a footnote style syntax | ||
|
||
![Alt text][id] | ||
|
||
With a reference later in the document defining the URL location: | ||
|
||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" | ||
|
||
## Links | ||
|
||
[link text](http://dev.nodeca.com) | ||
|
||
[link with title](http://nodeca.github.io/pica/demo/ "title text!") | ||
|
||
Autoconverted link https://github.com/nodeca/pica (enable linkify to see) | ||
|
||
|
||
|
||
## Footnotes | ||
|
||
Footnote 1 link[^first]. | ||
|
||
Footnote 2 link[^second]. | ||
|
||
Inline footnote^[Text of inline footnote] definition. | ||
|
||
Duplicated footnote reference[^second]. | ||
|
||
[^first]: Footnote **can have markup** | ||
|
||
and multiple paragraphs. | ||
|
||
[^second]: Footnote text. | ||
|
||
|
||
## Definition lists | ||
|
||
Term 1 | ||
|
||
: Definition 1 | ||
with lazy continuation. | ||
|
||
Term 2 with *inline markup* | ||
|
||
: Definition 2 | ||
|
||
{ some code, part of Definition 2 } | ||
|
||
Third paragraph of definition 2. | ||
|
||
_Compact style:_ | ||
|
||
Term 1 | ||
~ Definition 1 | ||
|
||
Term 2 | ||
~ Definition 2a | ||
~ Definition 2b | ||
|
||
|
||
## Abbreviations | ||
|
||
This is HTML abbreviation example. | ||
|
||
It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. | ||
|
||
*[HTML]: Hyper Text Markup Language |
54 changes: 54 additions & 0 deletions
54
...docusaurus-plugin-content-docs/src/__tests__/__fixtures__/website/docs/hello.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
id: hello | ||
title: Hello, World ! | ||
--- | ||
|
||
Hi, Endilie here :) | ||
|
||
## Relative links | ||
|
||
Replace this | ||
[foo](foo/bar.md) | ||
|
||
Can't replace this | ||
[file](file.md) | ||
|
||
Do not replace below | ||
|
||
``` | ||
[hello](hello.md) | ||
``` | ||
|
||
## Blockquotes | ||
|
||
> Blockquotes can also be nested... | ||
>> ...by using additional greater-than signs right next to each other... | ||
> > > ...or with spaces between arrows. | ||
|
||
## Lists | ||
|
||
Unordered | ||
|
||
+ Create a list by starting a line with `+`, `-`, or `*` | ||
+ Sub-lists are made by indenting 2 spaces: | ||
- Marker character change forces new list start: | ||
* Ac tristique libero volutpat at | ||
+ Facilisis in pretium nisl aliquet | ||
- Nulla volutpat aliquam velit | ||
+ Very easy! | ||
|
||
Ordered | ||
|
||
1. Lorem ipsum dolor sit amet | ||
2. Consectetur adipiscing elit | ||
3. Integer molestie lorem at massa | ||
|
||
|
||
1. You can use sequential numbers... | ||
1. ...or keep all the numbers as `1.` | ||
|
||
Start numbering with offset: | ||
|
||
57. foo | ||
1. bar |
7 changes: 7 additions & 0 deletions
7
...saurus-plugin-content-docs/src/__tests__/__fixtures__/website/docs/permalink.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
id: permalink | ||
title: Permalink | ||
permalink: :baseUrl:docsUrl/endiliey/:id | ||
--- | ||
|
||
This has a different permalink |
11 changes: 11 additions & 0 deletions
11
packages/docusaurus-plugin-content-docs/src/__tests__/__fixtures__/website/sidebars.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"docs": { | ||
"Test": [ | ||
"foo/bar", | ||
"foo/baz" | ||
], | ||
"Guides": [ | ||
"hello" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters