This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
Watch
1
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2025-02-09 04:44:59 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
discourse
/
app
/
assets
/
javascripts
/
markdown-it-bundle.js
3 lines
85 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Feature: CommonMark support This adds the markdown.it engine to Discourse. https://github.com/markdown-it/markdown-it As the migration is going to take a while the new engine is default disabled. To enable it you must change the hidden site setting: enable_experimental_markdown_it. This commit is a squash of many other commits, it also includes some improvements to autospec (ability to run plugins), and a dev dependency on the og gem for html normalization.
2017-06-08 18:02:30 -04:00
//= require markdown-it.js
REFACTOR: Do not rely on module order for discourse-markdown loading Before this patch, discourse-markdown depended on the modules in its bundle being defined in a specific order or it wouldn't load properly. Now, any file in the bundle can export a `priority` const (default 0) and files will be loaded in order of ascending priority instead. This allows us to use a bundle packaged in any order we want.
2020-09-18 13:29:09 -04:00
//= require_tree ./pretty-text/engines/discourse-markdown
Reference in New Issue
Copy Permalink