docusaurus/lib
Christopher Chedeau e9c5cef664 Add the ability to define a default language (#206)
* Add the ability to define a default language

I don't want to have to add the language i'm working on to every single block nor do I want to rely on a default heuristic to find the language.

This adds the ability to write

```
highlight: { defaultLang: 'xxxx' }
```

in `siteConfig.js` to force the language when not specified.

I tested it without a a highlight block, without a defaultLang attribute and with one and with a wrong one. All of them work as expected.

* Move comment around
2017-11-01 12:16:15 -07:00
..
core Add the ability to define a default language (#206) 2017-11-01 12:16:15 -07:00
server [BREAKING] Rename Marked to MarkdownBlock (#162) 2017-10-30 15:47:13 -07:00
static More breakpoint consolidation fixes 2017-10-30 22:50:51 -07:00
build-files.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00
copy-examples.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00
generate-feed.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00
publish-gh-pages.js [CI] Switch to Circle 2 (#168) 2017-10-25 14:04:24 -07:00
rename-version.js The complete move to MIT license (#115) 2017-10-05 11:14:49 -07:00
start-server.js Don't try to version files that have no metadata headers (#197) 2017-10-30 12:00:55 -07:00
version.js Don't try to version files that have no metadata headers (#197) 2017-10-30 12:00:55 -07:00
write-translations.js Ensure some errors are logged to the console (#194) 2017-10-30 11:42:45 -07:00