Creating Your Own Markdown Preprocessor Is Easier Than You Might Think

preview_player
Показать описание
Create a Markdown preprocessor for Svelte.

🔖 Timestamps

0:00 Intro
0:36 Example
2:06 The Magic Of Svelte Preprocessors
4:57 Context Module Aside
6:01 Project Setup
8:41 The Markdown Preprocessor
12:15 Parsing The Frontmatter
16:05 Parsing The Markdown
19:45 Escaping HTML
24:01 Outro

#joyofcode #sveltekit #svelte
Рекомендации по теме
Комментарии
Автор

Very cool! But, I'm confused. This is a preprocessor. You have your example in /posts/example/example md. Does't this get preprocessed, then compiled so it cannot be updated in production?

grmensz
Автор

@JoyofCodeDev how do you the Penguin walking at 0:17 ? Can't find it in your video

si
Автор

You still have a lot to catch up with PHP, the preprocessor 😜

LorenzoGiovenali