1620281700
Markdown + Svelte = MDsveX
TIMESTAMPS
This is much cooler than I originally thought… Markdown, Layouts and Svelte, oh my!
Perfect for content creators who want to sprinkle their content with Svelte awesomeness.
https://mdsvex.com/
Svelte-Adders: https://github.com/svelte-add/svelte-adders
#svelte #markdown
1620281700
Markdown + Svelte = MDsveX
TIMESTAMPS
This is much cooler than I originally thought… Markdown, Layouts and Svelte, oh my!
Perfect for content creators who want to sprinkle their content with Svelte awesomeness.
https://mdsvex.com/
Svelte-Adders: https://github.com/svelte-add/svelte-adders
#svelte #markdown
1672956300
A Markdown renderer for Vapor and Leaf. This uses the Vapor Markdown package to wrap cmark (though a fork is used to make it work with Swift PM), so it understands Common Mark. A quick reference guide for Common Mark can be found here. It also supports Github Flavored Markdown.
Once set up, you can use it in your Leaf template files like any other tag:
#markdown(myMarkdown)
Where you have passed myMarkdown
into the view as something like:
# Hey #
Check out my *awesome* markdown! It is easy to use in `tags`
Add Leaf Markdown as a dependency in your Package.swift
file:
dependencies: [
...,
.package(name: "LeafMarkdown", url: "https://github.com/vapor-community/leaf-markdown.git", .upToNextMajor(from: "3.0.0")),
]
Then add the dependency to your target:
.target(
name: "App",
dependencies: [
// ...
"LeafMarkdown"
],
// ...
)
Register the tag with Leaf so Leaf knows about it:
app.leaf.tags["markdown"] = Markdown()
Don't forget to import LeafMarkdown in the file you register the tag with import LeafMarkdown
.
Author: Vapor-community
Source Code: https://github.com/vapor-community/leaf-markdown
License: MIT license
1600073509
In this Svelte tutorial we’ll be taking a look at creating a Svelte project using the Svelte template. We’ll go over the file structure, install a VS Code extension and look at starting the built-in development server.
For your reference, check this out:
https://svelte.dev/tutorial/basics
#svelte #web-development #svelte
1656516660
A Markdown preprocessor for Svelte. Markdown in Svelte.
This is a monorepo containing mdsvex
and any supporting packages. Each repo has it's own readme with more details.
mdsvex
itself.Contributions are welcome. This repo uses changesets to manage changelogs and versioning. All pull requests need an accompanying changeset file (PRs to the documentation website do not need a changeset file). If you know how changesets work then feel free to add one with the appropriate packages, versions and a description of the change. If you don't know how changesets work, don't worry about it, I am happy to add one (a little robot will also add some details to the PR when you open it as well, if you want to learn more).
Download Details:
Author:
Source Code:
License:
#svelte #javascript
1625469199
Markdown is nearly ubiqitous when it comes to blogging. Many applications use it for nicely editable files. With the mdsvex library, you can easily use markdown files that are also able to render out svelte components! It’s the best of both worlds, and can make nearly any blog way more interactive.
⏱️ Timestamps:
Subscribe: https://www.youtube.com/c/DavidParkerW/featured
#sveltekit #svelte