Răsfoiți Sursa

Exclude table

Shun Miyazawa 3 ani în urmă
părinte
comite
6ff5f2e6bc

+ 1 - 1
packages/app/src/services/renderer/remark-plugins/table.ts

@@ -4,7 +4,7 @@ import { visit } from 'unist-util-visit';
 export const remarkPlugin: Plugin = function() {
   return (tree) => {
     visit(tree, (node) => {
-      if (node.type === 'table' || node.type === 'tableCell' || node.type === 'tableRow') {
+      if (node.type === 'tableCell' || node.type === 'tableRow') {
 
         // omit position to fix the key regardless of its position
         // see: