
Report Code Block Malware and Security Issues
A code block is a versatile feature that allows you to add custom HTML, Markdown, CSS, and JavaScript to your pages, blog posts, sidebars, and footers. It's particularly useful for embedding third-party widgets and implementing customizations that aren't possible with standard blocks.
Adding a Code Block:
- Click "Add Block" or the insertion point while editing
- Select "Code"
- Click the pencil icon to open the block editor
- Enter your code in the text field
For code snippets:
- Toggle "Show Source" to display code as formatted text
- Choose "HTML" or "Markdown" from the Type menu
- For CSS, wrap code in
<style>
tags - For JavaScript, wrap code in
<script>
tags

Warning message for script disabling
Important Considerations:
- Code in index pages may not render properly
- Ajax loading can interfere with custom code
- When logged in, you may need to use "View in Safe Mode" to see embedded items
- Disable scripts in preview mode if you encounter editing issues
Troubleshooting Tips:
- Remove page from index to test functionality
- Disable Ajax to check for conflicts
- Contact widget providers for specific implementation issues
- Consider consulting documentation or hiring an expert for complex customizations
The code block automatically formats code snippets for better readability, making it ideal for displaying code examples and implementing custom features on your site.
For security and optimal performance, always test your custom code thoroughly and follow best practices for code implementation.
Related Articles

Retired Fonts List: Complete Guide to Replacing Unavailable Fonts
