Repository navigation
URL to create a new page with prefilled file name and markdown contents from query string #938
Replies: 2 comments 5 replies
|
Yes, see the doc: Linking to Content Editor Currently the filename (slug) cannot be specified because in most cases it’s not editable. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
GitHub allows to pass in query string a prefill value for new filename and url-encoded prefill file contents.
Is it possible to do the same with Sveltia?
E.g. I'd like to put on my website a link for "Create a new blog post" which should open a new post editor with prefilled filename (current date + some draft slug) and some markdown contents which has some markdown cheat sheet (e.g. on placing post title in
# put post title hereand has some basic blocks to illustrate what markdown can do)All reactions