You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -23,7 +23,7 @@ This library tokenises code using Prism and provides a small render-props-driven
23
23
component to quickly render it out into React. This is why it even works with
24
24
React Native! It's bundled with a modified version of Prism that won't pollute
25
25
the global namespace and comes with
26
-
[a couple of common language syntaxes](./src/vendor/prism/includeLangs.js).
26
+
[a couple of common language syntaxes](./packages/generate-prism-languages/index.ts#L9-L23.
27
27
28
28
_(There's also an [escape-hatch](https://github.com/FormidableLabs/prism-react-renderer#prism) to use your own Prism setup, just in case)_
29
29
@@ -35,28 +35,30 @@ _(If you just want to use your Prism CSS-file themes, that's also no problem)_
35
35
36
36
## Table of Contents
37
37
38
-
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
39
-
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
40
-
41
-
-[Installation](#installation)
42
-
-[Usage](#usage)
43
-
-[Custom Language Support](#custom-language-support)
44
-
-[Basic Props](#basic-props)
45
-
-[children](#children)
46
-
-[language](#language)
47
-
-[code](#code)
48
-
-[Advanced Props](#advanced-props)
49
-
-[theme](#theme)
50
-
-[Prism](#prism)
51
-
-[Children Function](#children-function)
52
-
-[state](#state)
53
-
-[prop getters](#prop-getters)
54
-
-[`getLineProps`](#getlineprops)
55
-
-[`getTokenProps`](#gettokenprops)
56
-
-[Theming](#theming)
57
-
-[LICENSE](#license)
58
-
59
-
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
38
+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
39
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
40
+
41
+
42
+
-[Installation](#installation)
43
+
-[Usage](#usage)
44
+
-[Custom Language Support](#custom-language-support)
45
+
-[Basic Props](#basic-props)
46
+
-[children](#children)
47
+
-[language](#language)
48
+
-[code](#code)
49
+
-[Advanced Props](#advanced-props)
50
+
-[theme](#theme)
51
+
-[prism](#prism)
52
+
-[Children Function](#children-function)
53
+
-[state](#state)
54
+
-[prop getters](#prop-getters)
55
+
-[`getLineProps`](#getlineprops)
56
+
-[`getTokenProps`](#gettokenprops)
57
+
-[Theming](#theming)
58
+
-[LICENSE](#license)
59
+
-[Maintenance Status](#maintenance-status)
60
+
61
+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
60
62
61
63
## Installation
62
64
@@ -154,7 +156,7 @@ the section "[Children Function](#children-function)".
154
156
> `string` | _required_
155
157
156
158
This is the language that your code will be highlighted as. You can see a list
157
-
of all languages that are supported out of the box [here](./src/vendor/prism/includeLangs.js). Not all languages are included and the list of languages that are currently is a little arbitrary. You can use the [escape-hatch](https://github.com/FormidableLabs/prism-react-renderer#prism) to use your own Prism setup, just in case, or [add more languages to the bundled Prism.](https://github.com/FormidableLabs/prism-react-renderer#faq)
159
+
of all languages that are supported out of the box [here](./packages/generate-prism-languages/index.ts#L9-L23). Not all languages are included and the list of languages that are currently is a little arbitrary. You can use the [escape-hatch](https://github.com/FormidableLabs/prism-react-renderer#prism) to use your own Prism setup, just in case, or [add more languages to the bundled Prism.](https://github.com/FormidableLabs/prism-react-renderer#faq)
0 commit comments