mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +00:00
markdown: Run settings_tab/relative links extensions after include.
Recently, we discovered that our settings_tab/relative Markdown directives didn't work when they were in a macro that was included in another Markdown file. Note that without this commit, the /help/create-your-organization-profile page is broken. This commit changes the respective priorities of these two extensions such that these directives are rendered *after* the macro is included in another file. Thanks to Alya Abbott for reporting this bug!
This commit is contained in:
@@ -7,11 +7,11 @@ PREPROCESSOR_PRIORITES = {
|
|||||||
"generate_api_title": 531,
|
"generate_api_title": 531,
|
||||||
"generate_api_description": 530,
|
"generate_api_description": 530,
|
||||||
"generate_code_example": 525,
|
"generate_code_example": 525,
|
||||||
"help_relative_links": 520,
|
|
||||||
"setting": 515,
|
|
||||||
"generate_return_values": 510,
|
"generate_return_values": 510,
|
||||||
"generate_api_arguments": 505,
|
"generate_api_arguments": 505,
|
||||||
"include": 500,
|
"include": 500,
|
||||||
|
"help_relative_links": 475,
|
||||||
|
"setting": 450,
|
||||||
"fenced_code_block": 25,
|
"fenced_code_block": 25,
|
||||||
"tabbed_sections": -500,
|
"tabbed_sections": -500,
|
||||||
"nested_code_blocks": -500,
|
"nested_code_blocks": -500,
|
||||||
|
|||||||
Reference in New Issue
Block a user