refactor: Rename zerver.lib.bugdown to zerver.lib.markdown .

This commit is first of few commita which aim to change all the
bugdown references to markdown. This commits rename the files,
file path mentions and change the imports.
Variables and other references to bugdown will be renamed in susequent
commits.
This commit is contained in:
Mohit Gupta
2020-06-25 18:30:33 +05:30
committed by Tim Abbott
parent 7c2be24cf8
commit 3f5fc13491
35 changed files with 62 additions and 61 deletions

View File

@@ -5,7 +5,7 @@ after Zulip's original name of "humbug". End users are using Bugdown
within the client, not original Markdown.
Zulip has two implementations of Bugdown. The backend implementation
at `zerver/lib/bugdown/` is based on
at `zerver/lib/markdown/` is based on
[Python-Markdown](https://pypi.python.org/pypi/Markdown) and is used to
authoritatively render messages to HTML (and implements
slow/expensive/complex features like querying the Twitter API to
@@ -94,7 +94,7 @@ First, you will likely find these third-party resources helpful:
When changing Zulip's markdown syntax, you need to update several
places:
* The backend markdown processor (`zerver/lib/bugdown/__init__.py`).
* The backend markdown processor (`zerver/lib/markdown/__init__.py`).
* The frontend markdown processor (`static/js/markdown.js` and sometimes
`static/third/marked/lib/marked.js`), or `markdown.contains_backend_only_syntax` if
your changes won't be supported in the frontend processor.