showdownjs / showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript
http://www.showdownjs.com/
MIT License
14.21k stars 1.56k forks source link

--customizedHeaderId does not work on command line tool #505

Open averms opened 6 years ago

averms commented 6 years ago

Description

I'm using the customized header id option but it doesn't enable when passing the option to the command line tool

Input

showdown makehtml -i index.md -o index.html --strikethrough --ghCompatibleHeaderId --tasklists --customizedHeaderId

I've also tried with only:

showdown makehtml -i index.md -o index.html --customizedHeaderId

But it still doesn't work

Expected Output

I would expect it to convert the stuff inside the curly braces into the header id but it does not.

Actual Output

It enables all the options except customizedHeaderId

Enabling option ghCompatibleHeaderId
Enabling option strikethrough
Enabling option ghCodeBlocks
Enabling option tasklists
Enabling option encodeEmails
...
Reading data from file...
Parsing markdown...
Writing data to file...

DONE!
Schachte commented 4 years ago

Is there a fix expected for this still?