theme-github-codetabs
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

Docusaurus Theme GitHub Codeblock Test Changes

A Docusaurus v2 plugin that supports referencing code examples from public GitHub repositories.

Note: this theme plugin requires Docusaurus v2

Check the details on how to use, and demonstrations

You can also set some fallback text if the plugin fails to find your codeblock:

```js reference title="Code with fallback"
https://github.com/saucelabs/docusaurus-theme-github-codeblock
This is some fallback text that will be displayed
It can be multiline
```

```js reference title="If you dont have a fallback and the URL fails to load, it will show a message in your code block"
https://github.com/saucelabs/docusaurus-theme-github-codeblock
```

If you are interested contributing to this project, see CONTRIBUTING.md.

Readme

Keywords

Package Sidebar

Install

npm i theme-github-codetabs

Weekly Downloads

1

Version

0.2.3

License

MIT

Unpacked Size

154 kB

Total Files

56

Last publish

Collaborators

  • you54f