mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-17 12:41:20 +08:00
doc: Update react.md
cheatsheet.
This commit is contained in:
@ -20,6 +20,7 @@ export function create(str = '', options = {}) {
|
||||
description = (description[0] || '').replace(/^\n[=\n]+/, '').replace(/\[([\s\S]*?)?\]\(([\s\S]*?)?\)/g, '$1').replace(/\n/, '');
|
||||
const subTitle = options.filename && !options.isHome ? `${options.filename} cheatsheet & `: ''
|
||||
const mdOptions = {
|
||||
showLineNumbers: false,
|
||||
hastNode: false,
|
||||
remarkPlugins: [remarkGemoji],
|
||||
rehypePlugins: [
|
||||
|
Reference in New Issue
Block a user