To display a Markup file inside a WordPress page, you can use the Markdown block or a Markdown editor plugin. For the Markdown block, navigate to the page or post editor, click the plus icon, and search for “Markdown” to add the block. Then, you can write your Markdown code directly in the block.
Alternatively, you can use a Markdown editor plugin like WP Markdown Editor (formerly Dark Mode). To install a Markdown plugin, go to Plugins > Add New, search for “Markdown,” and install the desired plugin. Once installed, you can use the plugin to write and edit Markdown content on your posts and pages.1
For adding schema markup, you can use custom fields. Navigate to the post or page where you want to add the schema, click on Screen Options, and check ‘Custom Fields.’ Then, create a new custom field named ‘schema’ and enter your JSON-LD code. After adding the custom field, you’ll need to edit your header.php file to ensure the schema code is loaded with your post metadata.3
- WP Markdown Editor (formerly Dark Mode): A distraction-free writing environment with dark mode for reduced eye strain and support for Markdown on posts and pages.1
- Markdown Block: A feature that allows you to add Markdown to any page, post, or template using the Markdown block in the WordPress editor.2
- Custom HTML Block: You can also use the Custom HTML block to add code directly to your page or post, including JSON-LD schema markup.4
WordPress Markdown Editor
wordpress.comMarkdown Block – WordPress.com Support
hostinger.comWhy You Need WordPress Schema Markup and How to Add it to Your Site
wordpress.comCustom HTML block – WordPress.com Support
How to display Markdown files from other sites in WordPress – Christian Specht
When I created the pages for my existing projects on this blog, I decided that I’d prefer to directly display the content of the readme files from Bitbucket (where all of my projects are hosted), instead of just copying the content.
How to Style Using Markup
To see the full range of Markdown formatting, see Markdown Extra.
from https://wordpress.com/support/wordpress-editor/blocks/markdown-block/
| Markdown Syntax | Output |
|---|---|
**Bold Text** | Bold Text |
*Italic Text* | Italic Text |
[Link](https://example.com) | Link |
# Header 1 | Header 1 |
## Header 2 | Header 2 |
- List Item | • List Item |
1. Numbered Item | 1. Numbered Item |
`Inline Code` | Inline Code |
`Code Block` | Code Block |
For example, in Markdown, to emphasize a word, you wrap it with an asterisk on both ends, like this: *emphasized*. When your writing is published, it will look like this: emphasized. Similarly, two asterisks denote strong text: **strong** will be published as strong.
To indicate links, use regular and square parentheses. Wrap the text you want to link in square parentheses, and immediately after it, insert the link target wrapped in regular parentheses. The actual Markdown could look like this: [WordPress.com](https://wordpress.com/). When published, it will be a standard link: WordPress.com.

The original Markdown text you write will always remain in Markdown, so you can go back and edit it using Markdown. Only the published document – the post or the page – will be converted. If you write a post in Markdown, it will be published as a fully formatted post on your blog, but when you go back and edit it, it’ll still be in Markdown.
/markdown