mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This allows fidelity in controlling excerpt (text that shows up when you pin a topic or link to it externally): ``` I am some text [excerpt] This is some **custom** markdown that should be the excerpt [/excerpt] More text ``` Previous solution relied on DIVs, unfortunately DIVs do not play well, by design with mixing markdown unless you have a preceding newline eg: ``` <div class='hello'> this will be treated properly as markdown </div> ``` This extra newline is not desirable. I am also considering adding ``` [div class=excerpt] [/div] ``` This would offer lots of flexibility to themes and plugins that do not want the extra annoying newline. |
||
---|---|---|
.. | ||
emoji | ||
engines | ||
censored-words.js.es6 | ||
emoji.js.es6.erb | ||
guid.js.es6 | ||
image-short-url.js.es6 | ||
inline-oneboxer.js.es6.erb | ||
oneboxer.js.es6 | ||
pretty-text.js.es6 | ||
sanitizer.js.es6 | ||
white-lister.js.es6 | ||
xss.js.es6 |