mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 03:53:43 +08:00
aa24be1a9a
* DEV: Add API to alter uploads Markdown * DEV: Extract data attributes from image / download Markdown For example '[test|attachment|hello=world]' will generate an 'a' element with a data attribute: 'data-hello=world'. This commit also makes MarkdownIt to transform '|attachment' into 'class="attachment"'. This transformation used to be a part of the process which resolves short URLs (i.e. upload://). * DEV: Export imageNameFromFileName |
||
---|---|---|
.. | ||
context | ||
emoji | ||
engines | ||
censored-words.js.es6 | ||
emoji.js.es6 | ||
guid.js.es6 | ||
inline-oneboxer.js.es6 | ||
oneboxer-cache.js.es6 | ||
oneboxer.js.es6 | ||
pretty-text.js.es6 | ||
sanitizer.js.es6 | ||
upload-short-url.js.es6 | ||
white-lister.js.es6 | ||
xss.js.es6 |