[bug]Markdown file with specified layout will render extra text.
See original GitHub issueBug report
Markdown file with specified layout will render extra text.
1、Add a new page like pages/test.md
Hello World
<route lang="yaml">
meta:
layout: home
</route>
2、Can avoid by adding a hidden
class:
Hello World
<route lang="yaml" class="hidden">
meta:
layout: home
</route>
Reproduction repo
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[Bug] Markdown Preview does not load/render ... - GitHub
In the Markdown file, at the preview, the tables are not rendered/loaded. In the HTML file, at the previw, they are rendered/loaded. I'll...
Read more >Layouts and Rendering in Rails - Ruby on Rails Guides
You can render the default view for a Rails template, or a specific template, or a file, or inline code, or nothing at...
Read more >Rendering Process | Jekyll • Simple, blog-aware, static sites
Since this stage is determined by the file's extension, Markdown or Sass inside a .html file will remain untouched. Populating the layouts. By...
Read more >How to Render Plain Text Templates in Ruby on Rails
This controller action will now render our robots.text.erb file regardless of the format requested. We specify layout: false to avoid ...
Read more >Customizing Book Output - Quarto
This article covers customizing the output of book projects, including how to tailor the styles and appearance of books in each supported output...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With vite-plugin-md v0.5.0, now you can write route custom block inside markdown file!!
markdown:
You can’t just write custom block to markdown file because it will transform into
<template>/* here */</template>
, there is a option invite-plugin-pages
callextendRoute
, which can add some custom meta using: