-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Zach Badgett
committed
Apr 29, 2019
1 parent
a6d8f25
commit 20ba2f2
Showing
5 changed files
with
242 additions
and
159 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
29 changes: 29 additions & 0 deletions
29
packages/docusaurus-1.x/lib/core/__tests__/__fixtures__/split-tab_doc1.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,29 @@ | ||
<!--DOCUSAURUS_CODE_TABS--> | ||
<!--JavaScript--> | ||
```js | ||
console.log('Hello, world!'); | ||
``` | ||
<!--Python--> | ||
```py | ||
print('Hello, world!') | ||
``` | ||
|
||
<!--C--> | ||
```C | ||
#include <stdio.h> | ||
|
||
int main() { | ||
printf("Hello World!"); | ||
return 0; | ||
} | ||
``` | ||
|
||
<!--Pascal--> | ||
```Pascal | ||
program HelloWorld; | ||
begin | ||
WriteLn('Hello, world!'); | ||
end. | ||
``` | ||
|
||
<!--END_DOCUSAURUS_CODE_TABS--> |
31 changes: 31 additions & 0 deletions
31
packages/docusaurus-1.x/lib/core/__tests__/__fixtures__/split-tab_doc2.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,31 @@ | ||
1. Doc | ||
<!--DOCUSAURUS_CODE_TABS--> | ||
<!--JavaScript--> | ||
```js | ||
console.log('Hello, world!'); | ||
``` | ||
<!--Python--> | ||
```py | ||
print('Hello, world!') | ||
``` | ||
|
||
<!--C--> | ||
```C | ||
#include <stdio.h> | ||
int main() { | ||
printf("Hello World!"); | ||
return 0; | ||
} | ||
``` | ||
|
||
<!--Pascal--> | ||
```Pascal | ||
program HelloWorld; | ||
begin | ||
WriteLn('Hello, world!'); | ||
end. | ||
``` | ||
|
||
<!--END_DOCUSAURUS_CODE_TABS--> | ||
1. Do that |
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
Oops, something went wrong.