-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not rendered as markdown. #439
Comments
You shouldn't. Do you have a reproduction I can take a look at? |
Those are the default styles for those elements when using Tailwind CSS. There's a small amount of extra info here. |
As @babichjacob told me, the styles were reset by Thank you both for your help. |
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. You can reproduce it by access to |
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 |
Problem
I wrote this in
src/routes/blog/posts/text.svx
.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
svelte-add
)The text was updated successfully, but these errors were encountered: