docusaurus/lib/server
Christopher Chedeau 57251a22c0 Ability to tweak the prism language (#146)
I want to be able to tweak the default tokenizer for syntax highlighting. The current one isn't as good as it could be.

With this PR, I would be able to add this to the siteConfig and it would give me the Prism access so that I can get proper syntax highlighting:

```js
  prism: function(Prism) {
    Prism.languages.javascript = Prism.languages.extend("javascript", {
      keyword: /\b(alias|as|async|await|base class|...|with)\b/,
      constant: /\b[A-Z][a-zA-Z0-9_]*\b/,
      builtin: /\bopen_file|...|invariant_violation|invariant|getcwd\b/,
      function: /\b[_$a-z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/,
    });
  },
```
2017-10-19 08:21:00 -07:00
..
feed.js Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136) 2017-10-18 12:55:58 -07:00
generate.js Include baseUrl when redirecting /docs/ pages in a localized project (#147) 2017-10-19 07:29:48 -07:00
readCategories.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00
readMetadata.js Code cleanups for consistency & adds Docusaurus to meta tags (#138) 2017-10-18 14:40:16 -07:00
server.js Ability to tweak the prism language (#146) 2017-10-19 08:21:00 -07:00
sitemap.js Add a check for languages.js in sitemap.js 2017-10-18 15:43:25 -07:00
translate-plugin.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00
translate.js Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136) 2017-10-18 12:55:58 -07:00
translation.js Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. (#136) 2017-10-18 12:55:58 -07:00
versionFallback.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00