mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
Added option for client to include there own remarkable config (#974)
* Added option for client to include there own remarkable config * Better use merge here * Added lodash ... * Change use of lodash to deepmerge and added description to api site * markdownConfig -> markdownOptions * Update api-site-config.md * remove 1.4 docs change since it is unrelated (the feature will only be available in next release) * Run prettier
This commit is contained in:
parent
3c36a1cc8c
commit
8568a96e65
3 changed files with 27 additions and 4 deletions
|
@ -149,6 +149,8 @@ h1 {
|
|||
|
||||
`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.
|
||||
|
||||
`markdownOptions` - Override default [Remarkable options](https://github.com/jonschlinkert/remarkable#options) that will be used to render markdown.
|
||||
|
||||
`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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue