New to Translating WordPress? Read through our Translator Handbook to get started. Hide
Prio | Original string | Translation | — |
---|---|---|---|
↑ | Code Syntax Block plugin extends the block editor by adding syntax highlighting to the core code block. | You have to log in to add a translation. | Details |
Original untranslated
Code Syntax Block plugin extends the block editor by adding syntax highlighting to the core code block.
You have to log in to edit this translation. |
|||
↑ | Code Syntax Block | You have to log in to add a translation. | Details |
Original untranslated |
|||
Yes, on the plugin settings page in the dashboard you can set a default language when inserting a code block. You can still change if you wish to show code not using the default language. | You have to log in to add a translation. | Details | |
Original untranslated
Yes, on the plugin settings page in the dashboard you can set a default language when inserting a code block. You can still change if you wish to show code not using the default language.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
}); | You have to log in to add a translation. | Details | |
Original untranslated |
|||
The default color theme is <a href="https://github.com/PrismJS/prism-themes/blob/master/themes/prism-a11y-dark.css">A11y Dark</a> optimized for accessibility. If you want to change the colorscheme, you can select from the plugin settings page a few different themes shipped with the plugin. You can also use a theme from the <a href="https://github.com/PrismJS/prism-themes">Prism themes repo</a> or create your own. | You have to log in to add a translation. | Details | |
Original untranslated
The default color theme is <a href="https://github.com/PrismJS/prism-themes/blob/master/themes/prism-a11y-dark.css">A11y Dark</a> optimized for accessibility. If you want to change the colorscheme, you can select from the plugin settings page a few different themes shipped with the plugin. You can also use a theme from the <a href="https://github.com/PrismJS/prism-themes">Prism themes repo</a> or create your own.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
Example: | You have to log in to add a translation. | Details | |
Original untranslated |
|||
Yes, use the filter <code>mkaz_code_syntax_force_loading</code> to force always loading assets, otherwise it users has_block to check. | You have to log in to add a translation. | Details | |
Original untranslated
Yes, use the filter <code>mkaz_code_syntax_force_loading</code> to force always loading assets, otherwise it users has_block to check.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
Can I override the conditional loading, so assets always load? | You have to log in to add a translation. | Details | |
Original untranslated
Can I override the conditional loading, so assets always load?
CommentFound in faq header. You have to log in to edit this translation. |
|||
Here is an example shortening the list to a smaller set: | You have to log in to add a translation. | Details | |
Original untranslated
Here is an example shortening the list to a smaller set:
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
Use this filter to extend to support the languages you need. Additionally you can use the filter to shorten the list to just the languages you use to make it easier to select. | You have to log in to add a translation. | Details | |
Original untranslated
Use this filter to extend to support the languages you need. Additionally you can use the filter to shorten the list to just the languages you use to make it easier to select.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
Use the filter <code>mkaz_code_syntax_language_list</code> to customize the list of languages to select displayed in the editor. By default the code syntax block shows a shorter list of popular languages, but Prism supports close to 200, <a href="https://prismjs.com/#supported-languages">see list</a>. | You have to log in to add a translation. | Details | |
Original untranslated
Use the filter <code>mkaz_code_syntax_language_list</code> to customize the list of languages to select displayed in the editor. By default the code syntax block shows a shorter list of popular languages, but Prism supports close to 200, <a href="https://prismjs.com/#supported-languages">see list</a>.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
Can I set a default language so I don't have to select each time? | You have to log in to add a translation. | Details | |
Original untranslated
Can I set a default language so I don't have to select each time?
CommentFound in faq header. You have to log in to edit this translation. |
|||
How to customize the language list? | You have to log in to add a translation. | Details | |
Original untranslated
How to customize the language list?
CommentFound in faq header. You have to log in to edit this translation. |
|||
Primary development and issues tracked on Github at: <a href="https://github.com/mkaz/code-syntax-block">https://github.com/mkaz/code-syntax-block</a> | You have to log in to add a translation. | Details | |
Original untranslated
Primary development and issues tracked on Github at: <a href="https://github.com/mkaz/code-syntax-block">https://github.com/mkaz/code-syntax-block</a>
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
The Prism syntax highlighter runs JavaScript loaded on the front-end to parse code blocks and apply syntax markup. A CSS file specifies the color and style to apply to that markup. See <a href="https://prismjs.com">Prism syntax highlighter</a> for full details. | You have to log in to add a translation. | Details | |
Original untranslated
The Prism syntax highlighter runs JavaScript loaded on the front-end to parse code blocks and apply syntax markup. A CSS file specifies the color and style to apply to that markup. See <a href="https://prismjs.com">Prism syntax highlighter</a> for full details.
CommentFound in description paragraph. You have to log in to edit this translation. |
Export as
Comment
Short description.