2021-09-17 19:01:36 +02:00
|
|
|
# Note that in the Markdown preprocessor registry, the highest
|
|
|
|
# numeric value is considered the highest priority, so the dict
|
|
|
|
# below is ordered from highest-to-lowest priority.
|
2021-09-23 11:29:14 +02:00
|
|
|
# Priorities for the built-in preprocessors are commented out.
|
2024-05-20 22:09:35 +02:00
|
|
|
PREPROCESSOR_PRIORITIES = {
|
2021-09-17 19:01:36 +02:00
|
|
|
"generate_parameter_description": 535,
|
|
|
|
"generate_response_description": 531,
|
2022-07-21 00:01:06 +02:00
|
|
|
"generate_api_header": 530,
|
2021-09-17 19:01:36 +02:00
|
|
|
"generate_code_example": 525,
|
|
|
|
"generate_return_values": 510,
|
|
|
|
"generate_api_arguments": 505,
|
2021-09-20 14:46:46 +02:00
|
|
|
"help_relative_links": 475,
|
|
|
|
"setting": 450,
|
2021-09-23 11:29:14 +02:00
|
|
|
# "normalize_whitespace": 30,
|
2021-09-17 19:01:36 +02:00
|
|
|
"fenced_code_block": 25,
|
2021-09-23 11:29:14 +02:00
|
|
|
# "html_block": 20,
|
2021-09-17 19:01:36 +02:00
|
|
|
"tabbed_sections": -500,
|
|
|
|
"nested_code_blocks": -500,
|
|
|
|
"emoticon_translations": -505,
|
2023-02-03 20:53:58 +01:00
|
|
|
"static_images": -510,
|
2021-09-17 19:01:36 +02:00
|
|
|
}
|
2022-06-26 02:38:55 +02:00
|
|
|
|
|
|
|
BLOCK_PROCESSOR_PRIORITIES = {
|
|
|
|
"include": 51,
|
|
|
|
}
|