mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
More function expose workaround for reveal-markdown.js
This commit is contained in:
parent
70c20aadda
commit
e10203b7e9
3 changed files with 5 additions and 0 deletions
|
@ -442,6 +442,7 @@ function postProcess(code) {
|
|||
}
|
||||
return result;
|
||||
}
|
||||
window.postProcess = postProcess;
|
||||
|
||||
function generateCleanHTML(view) {
|
||||
var src = view.clone();
|
||||
|
@ -811,6 +812,7 @@ var md = markdownit('default', {
|
|||
typographer: true,
|
||||
highlight: highlightRender
|
||||
});
|
||||
window.md = md;
|
||||
|
||||
md.use(require('markdown-it-abbr'));
|
||||
md.use(require('markdown-it-footnote'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue