Scott Spence

Load markdown via endpoint in SvelteKit (opens in new tab)

I had this idea whilst working on a SvelteKit project to see if I could use the Marked package in place of MDSveX. So the idea was that I only need the markdown rendered so I thought why not just load the file into a Svelte page and render...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help