Add support for Web App Manifest in siteConfig (#934)

* Add support for Web App Manifest in siteConfig

* Update api-site-config.md

* Update api-site-config.md
This commit is contained in:
Tirth Bodawala 2018-09-02 22:55:15 +05:30 committed by Yangshun Tay
parent f1daddb5f9
commit 2cbfeffd81
2 changed files with 5 additions and 0 deletions

View file

@ -147,6 +147,8 @@ h1 {
* `defaultLang` defines a default language. It will be used if one is not specified at the top of the code block. You can find the [list of supported languages here](https://github.com/isagalaev/highlight.js/tree/master/src/languages).
* `themeUrl` is the custom URL of CSS theme file that you want to use with Highlight.js. If this is provided, the `theme` and `version` fields will be ignored.
`manifest` - Path to your web app manifest (e.g., `/manifest.json`). This will add a `<link>` tag to `<head>` with `rel` as `"manifest"` and `content` as the provided path.
`markdownPlugins` - An array of plugins to be loaded by Remarkable, the markdown parser and renderer used by Docusaurus. The plugin will receive a reference to the Remarkable instance, allowing custom parsing and rendering rules to be defined.
`ogImage` - Local path to an Open Graph image (e.g., `img/myImage.png`). This image will show up when your site is shared on Facebook and other websites/apps where the Open Graph protocol is supported.