feat: add markdown-it-pivot-table rendering module (#6574)

* feat: markdown-it-pivot-table

* chore: upgrade dependency version

* style: remove semicolon in renderer.js

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
Jaeseo Park 2023-07-28 12:34:42 -06:00 committed by GitHub
parent db8a09fe8c
commit d75fc76c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View File

@ -119,6 +119,7 @@
"markdown-it-sub": "1.0.0",
"markdown-it-sup": "1.0.0",
"markdown-it-task-lists": "2.1.1",
"markdown-it-pivot-table": "1.0.1",
"mathjax": "3.2.2",
"mime-types": "2.1.35",
"moment": "2.29.4",

View File

@ -0,0 +1,8 @@
key: markdownPivotTable
title: Pivot Table
description: Add pivot table support
author: jaeseopark
icon: mdi-table
enabledDefault: false
dependsOn: markdownCore
props: {}

View File

@ -0,0 +1,7 @@
const pivotTable = require('markdown-it-pivot-table')
module.exports = {
init (md) {
md.use(pivotTable)
}
}