zulip/zerver/lib/markdown
m-e-l-u-h-a-n 2699048208 markdown: Extend user mention syntax to support user_id for mentioning.
Extend our markdown system to support mentioning of users
by id also. Following these changes, it would be possible
to mention users with @**|user_id** and silently mention
using @_**|user_id**.

Main intention for extending the mention syntax is to make
it convenient for bots to mention a users using their ids. It
is to be noted that previous syntax are also supported.

Documentation tweaked by tabbott for better readability.

The changes were tested manually in development server, and also
by adding some new backend and frontend tests.

Fixes: #17487.
2021-03-25 00:44:56 -07:00
..
__init__.py markdown: Extend user mention syntax to support user_id for mentioning. 2021-03-25 00:44:56 -07:00
api_arguments_table_generator.py api docs: Expand checking for deprecated fields. 2021-02-16 15:34:52 -08:00
api_return_values_table_generator.py api docs: Sort response keys in /get-events. 2021-02-26 15:01:37 -08:00
fenced_code.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
help_emoticon_translations_table.py mypy: Correct typing.re imports to typing. 2021-03-17 18:41:46 -07:00
help_relative_links.py mypy: Correct typing.re imports to typing. 2021-03-17 18:41:46 -07:00
help_settings_links.py mypy: Correct typing.re imports to typing. 2021-03-17 18:41:46 -07:00
include.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
nested_code_blocks.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tabbed_sections.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
testing_mocks.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00