• Stars
    star
    171
  • Rank 222,266 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Svelte component to render markdown.

svelte-exmarkdown

CI codecov License MIT

Svelte component to render markdown. Dynamic and Extensible.

Motivation

svelte-markdown is a good component package. However, it is not extensible. You cannot use custom syntax(e.g. KaTeX).

MDsveX is another good package. However, it is a preprocessor. Not suitable for dynamic rendering.

We need pluggable and dynamic markdown renderer in svelte like react-markdown.

Usage

<script>
	import Markdown from 'svelte-exmarkdown';
	let md = '# Hello world!';
</script>

<textarea bind:value={md} />
<Markdown {md} />

with GFM

<script>
	import Markdown from 'svelte-exmarkdown';
	import { gfmPlugin } from 'svelte-exmarkdown/gfm';
	let md = '# Hello world!';
	const plugins = [gfmPlugin()];
</script>

<textarea bind:value={md} />
<Markdown {md} {plugins} />

Playground & Documents

https://ssssota.github.io/svelte-exmarkdown

More Repositories

1

svg2png-wasm

SVG to PNG converter JS library made with WASM + resvg (no native dependencies).
Svelte
145
star
2

doc-vitest

Documentation tests with Vitest
TypeScript
53
star
3

fontvuer

New cross platform fontviewer
Vue
51
star
4

fontviewer

This app is deprecated.
JavaScript
25
star
5

svg2png-worker

svg2png-wasm demo with Cloudflare Workers
TypeScript
15
star
6

svg2png-deno-deploy

svg2png-wasm demo with Deno Deploy.
TypeScript
15
star
7

hololive-music.web.app

Svelte
14
star
8

typedotenv

dotenv utility for TypeScript
TypeScript
14
star
9

svelte-jsx-snippet

Write JSX as Svelte snippets for testing.
TypeScript
5
star
10

setup-firebase-tools

This action provides the firebase-tools(CLI) with auth setting.
TypeScript
4
star
11

ssssota.github.io

My portfolio!
TypeScript
4
star
12

unplugin-parcel-css

A Vite/webpack/Rollup plugin with @parcel/css
TypeScript
3
star
13

vcltk

Fastly VCL toolkit
TypeScript
2
star
14

pest-json-parser

JSON Parser for Rust using pest
Rust
2
star
15

chibi-x

TypeScript
2
star
16

svelte-twc

Svelte5 library that provides a way to use Tailwind CSS classes as components, inspired by TWC.
TypeScript
2
star
17

sveltekit-hooks-demo

TypeScript
2
star
18

exif.photos

Display EXIF data from your photos in a beautiful way โœจ Inspired by Liit (iOS app).
TypeScript
2
star
19

msw-connect-web

Mock Service Worker utility for connect-web.
TypeScript
2
star
20

node-font-kit

Node bindings to font-kit(Rust crate)
Rust
1
star
21

taberungo-no-uta

CSSใ‚ขใƒ‹ใƒกใƒผใ‚ทใƒงใƒณใงใ€ŒใŸในใ‚‹ใ‚“ใ”ใฎใ†ใŸใ€
HTML
1
star
22

move

move is a desktop application that allows you to move multiple files from one location to another
Rust
1
star
23

multitube

mutiple youtube live viewer
JavaScript
1
star
24

ningyo

Rust implementaion for mermaid(js).
Rust
1
star
25

fontscan

Get font list in specified directory(default system fonts).
JavaScript
1
star
26

ungrammar-wasm

WASM implementation for ungrammar
Rust
1
star
27

nkopi-solver

ใ‚“ใ“ใดใฃใŸใ‚“ใ‚ฝใƒซใƒ
JavaScript
1
star
28

create-jsx-snippet

JSX for createRawSnippet in Svelte
TypeScript
1
star
29

svogp

OGP image generator for embedding to Markdown
TypeScript
1
star
30

qr_cli

QR code generator
Rust
1
star
31

wasm-comparison

TypeScript
1
star
32

minicache

TypeScript
1
star