-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Developer Actions and Filters #766
base: develop
Are you sure you want to change the base?
Add Developer Actions and Filters #766
Commits on Oct 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5635329 - Browse repository at this point
Copy the full SHA 5635329View commit details -
New Action: syntax_highlighting_code_block_boot - run at plugin boot
New Action: `syntax_highlighting_code_block_boot`. This action is run post boot after the `plugins_loaded` action has been executed. This is useful for letting others know when the plugin has finished its boot process in order to modify any early actions and filters the plugin uses.
Configuration menu - View commit details
-
Copy full SHA for 92f2a9c - Browse repository at this point
Copy the full SHA 92f2a9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c1869b - Browse repository at this point
Copy the full SHA 5c1869bView commit details -
New Filters: syntax_highlighting_code_block_transient_key and syntax_…
…highlighting_code_block_injected_markup New filter: `syntax_highlighting_code_block_transient_key` - This is for filtering the language param that's returned. See: westonruter#191 New filter: `syntax_highlighting_code_block_injected_markup` - This is for being able to modify the output before its returned. This is to help those who want to extend the markup or introduce their own.
Configuration menu - View commit details
-
Copy full SHA for d1a63ed - Browse repository at this point
Copy the full SHA d1a63edView commit details -
New action: syntax_highlighting_code_block_highlighter_init
New action: `syntax_highlighting_code_block_highlighter_init` - Fires in the `render_block` function after the highlighter has been initialized. Helps fix: westonruter#191
Configuration menu - View commit details
-
Copy full SHA for 6fe675e - Browse repository at this point
Copy the full SHA 6fe675eView commit details -
New filter: syntax_highlighting_code_block_language_names - Change la…
…nguage names. Filter: `syntax_highlighting_code_block_language_names` - Resolves issue: westonruter#488
Configuration menu - View commit details
-
Copy full SHA for 67a966c - Browse repository at this point
Copy the full SHA 67a966cView commit details -
Filter: syntax_highlighting_code_block_injected_markup - added to output
Filter `syntax_highlighting_code_block_injected_markup` is added to the output for the highlighted portion.
Configuration menu - View commit details
-
Copy full SHA for d4685f8 - Browse repository at this point
Copy the full SHA d4685f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da32393 - Browse repository at this point
Copy the full SHA da32393View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5907006 - Browse repository at this point
Copy the full SHA 5907006View commit details -
JS Filter: syntaxHighlightingCodeBlockAttributes Set default attributes.
Filter: `syntaxHighlightingCodeBlockAttributes` allows you to set defaults for the code block.
Configuration menu - View commit details
-
Copy full SHA for cfc638e - Browse repository at this point
Copy the full SHA cfc638eView commit details -
New filter: syntax_highlighting_code_block_pre_start_tag
Filter `syntax_highlighting_code_block_pre_start_tag` is for adding markup to pre tag and honoring block alignment.
Configuration menu - View commit details
-
Copy full SHA for 3f0d9ea - Browse repository at this point
Copy the full SHA 3f0d9eaView commit details -
Filter: syntax_highlighting_code_block_code_classes Add classes.
Filter `syntax_highlighting_code_block_code_classes` allows you to add custom classes to the `code` element.
Configuration menu - View commit details
-
Copy full SHA for 4d23455 - Browse repository at this point
Copy the full SHA 4d23455View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9af78 - Browse repository at this point
Copy the full SHA 6b9af78View commit details -
Removing filter
syntax_highlighting_code_block_pre_start_tag
Remove filter `syntax_highlighting_code_block_pre_start_tag` as pre tag is not designed to have extra markup injected.
Configuration menu - View commit details
-
Copy full SHA for 5437aca - Browse repository at this point
Copy the full SHA 5437acaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca30ab - Browse repository at this point
Copy the full SHA 0ca30abView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac48a0b - Browse repository at this point
Copy the full SHA ac48a0bView commit details