Not rendered as markdown.
See original GitHub issueProblem
I wrote this in src/routes/blog/posts/text.svx
.
---
title: "My blog post"
createdAt: 2022-03-18
updatedAt: 2022-03-20
layout: blog_active
---
# Title
Some text
- a
- short
- list
However, when I access http://localhost:3000/blog/posts/test
, it shows up as plain text like this.
Do I need to do any additional configuration?
Environments
- SvelteKit v1.0.0-next.301
- MDsveX v.0.10.5(Installed using
svelte-add
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
GitHub markdown not rendering and git detecting changes ...
Very frequently when I type in headings such as # heading or ## sub-heading , the heading does not render correctly. Here is...
Read more >Some Markdown elements do not render · Issue #505 - GitHub
The text is rendered as-is, with no formatting and with ## and * still present.
Read more >Markdown: file is not rendering properly | Bitbucket Cloud - Jira
It was just a problem with cache/cookies. I saw in the inspector of my browser that a request for the rendered version of...
Read more >Readme markdown not rendering in Xcode - Apple Developer
In Xcode 11.1, I created a 'README.md' markdown file, but it always renders as its raw text (yet font size changes depending on...
Read more >README.md not rendering as markdown : r/github - Reddit
I have a README.md file in my repo but it is not rendering as markdown, it is plan text. Does anyone know what...
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
Looks like you need to include the theme CSS, which mdsvex does not inject for you: https://mdsvex.pngwn.io/docs#highlight.
Theme CSS can be found here: https://github.com/PrismJS/prism-themes
Oops, I just noticed that the coding highlighting for js, etc. doesn’t seem to be working.
Here is the minimum app code that can reproduce the problem. The setup procedure I did is in the README.
You can reproduce it by access to
http://localhost:3000/test
.https://github.com/ymgn9314/testing_svelte_mdsvex