|
|
@@ -6,7 +6,6 @@ import sanitize from 'rehype-sanitize';
|
|
|
import slug from 'rehype-slug';
|
|
|
import breaks from 'remark-breaks';
|
|
|
import remarkDirective from 'remark-directive';
|
|
|
-import emoji from 'remark-emoji';
|
|
|
import remarkFrontmatter from 'remark-frontmatter';
|
|
|
import gfm from 'remark-gfm';
|
|
|
import math from 'remark-math';
|
|
|
@@ -27,6 +26,7 @@ import * as addClass from './rehype-plugins/add-class';
|
|
|
import { relativeLinks } from './rehype-plugins/relative-links';
|
|
|
import { relativeLinksByPukiwikiLikeLinker } from './rehype-plugins/relative-links-by-pukiwiki-like-linker';
|
|
|
import * as codeBlock from './remark-plugins/codeblock';
|
|
|
+import * as emoji from './remark-plugins/emoji';
|
|
|
import { pukiwikiLikeLinker } from './remark-plugins/pukiwiki-like-linker';
|
|
|
import * as xsvToTable from './remark-plugins/xsv-to-table';
|
|
|
|
|
|
@@ -97,7 +97,7 @@ export const generateCommonOptions = (pagePath: string|undefined): RendererOptio
|
|
|
remarkPlugins: [
|
|
|
[toc, { maxDepth: 3, tight: true }],
|
|
|
gfm,
|
|
|
- emoji,
|
|
|
+ emoji.remarkPlugin,
|
|
|
pukiwikiLikeLinker,
|
|
|
growiDirective,
|
|
|
remarkDirective,
|