mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
The zcommand code was calling directly into the "marked" library, which was extremely misleading, since you don't get a vanilla parse of the markdown due to the fact that markdown.js calls setOptions at initialize time. This commit shifts the responsibility to markdown.js as well as adding a bit of test coverage, but it is otherwise just a pure code-move refactoring. The next commit will tweak things further.
5.3 KiB
5.3 KiB