Open cdbdev opened 1 year ago
Hi, you could create your own custom mode and extend MarkdownMode, afterwards which you can call this.createModeDelegates
again, and it should work. Or if you think the community would benefit from it, you could extend this method in ace/src/mode/markdown.js
.
Thanks for your answer. So if I understand correctly, I would have to extend the sourcecode and rebuild with nodejs to be able to achieve this?
Contributing to Ace is actually relatively simple. There is no need to rebuild Ace.
node static.js
and open the link that is in the logskitchen-sink.html
and see the kitchen sinksrc/mode/markdown.js
or src/snippets/markdown.snippets.js
npm install
npm run test
to run the testsThen you contribute by creating a PR.
Extending markdown mode
Hi,
Is it possible to extend the markdown mode to support more languages for codeblocks than the ones listed below:
Or is there already a way to do this?
Thank you
Use Case
I'm using markdown for technical documentation on other languages than currently supported
Proposed Solution
No response
Other Information
No response
Acknowledgements
ACE version used
Latest