feat: add vim.md regex.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-02 03:23:32 +08:00
parent f7f71e5070
commit 9ff36a3ac3
14 changed files with 1788 additions and 26 deletions

View File

@ -1,6 +1,5 @@
import markdown from '@wcj/markdown-to-html';
import rehypeDocument from 'rehype-document';
import rehypeFormat from 'rehype-format';
import remarkGemoji from 'remark-gemoji';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import rehypeSlug from 'rehype-slug';
@ -26,7 +25,6 @@ export function create(str = '', options = {}) {
rehypePlugins: [
rehypeSlug,
rehypeAutolinkHeadings,
rehypeFormat,
[rehypeDocument, {
title: `${title ? `${title} & ` : ''} ${subTitle} Quick Reference`,
css: [ ...options.css ],