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:
Eeshan Garg
2021-09-20 08:46:46 -04:00
committed by Tim Abbott
parent bfbd77ca5c
commit 5839f16969

View File

@@ -7,11 +7,11 @@ PREPROCESSOR_PRIORITES = {
"generate_api_title": 531,
"generate_api_description": 530,
"generate_code_example": 525,
"help_relative_links": 520,
"setting": 515,
"generate_return_values": 510,
"generate_api_arguments": 505,
"include": 500,
"help_relative_links": 475,
"setting": 450,
"fenced_code_block": 25,
"tabbed_sections": -500,
"nested_code_blocks": -500,