Skip to content

Commit

Permalink
Add markdown-extensions back
Browse files Browse the repository at this point in the history
Closes GH-1195.

Reviewed-by: Christian Murphy <[email protected]>
Reviewed-by: Titus Wormer <[email protected]>
  • Loading branch information
remcohaszing authored Aug 5, 2023
1 parent e72d91a commit 1c6e5ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
13 changes: 1 addition & 12 deletions packages/remark-cli/cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env node
import {createRequire} from 'node:module'
import extensions from 'markdown-extensions'
import {args} from 'unified-args'
// eslint-disable-next-line import/order
import {remark} from 'remark'
Expand All @@ -9,18 +10,6 @@ const require = createRequire(import.meta.url)
const proc = require('remark/package.json')
const cli = require('./package.json')

// To do: enable `markdown-extensions` once it supports ESM.
const extensions = [
'md',
'markdown',
'mdown',
'mkdn',
'mkd',
'mdwn',
'mkdown',
'ron'
]

args({
processor: remark,
name: proc.name,
Expand Down
1 change: 1 addition & 0 deletions packages/remark-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"cli.js"
],
"dependencies": {
"markdown-extensions": "^2.0.0",
"remark": "^14.0.0",
"unified-args": "^10.0.0"
},
Expand Down

0 comments on commit 1c6e5ba

Please sign in to comment.