Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43dc8c3

Browse filesBrowse files
committed
Add smartypants example
1 parent 39e4594 commit 43dc8c3
Copy full SHA for 43dc8c3

File tree

2 files changed

+8
-1
lines changed
Filter options

2 files changed

+8
-1
lines changed

‎rollup.config.js

Copy file name to clipboardExpand all lines: rollup.config.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ export default {
4545
// tell svelte to handle mdsvex files
4646
svelte({
4747
extensions: ['.svelte', '.svx'],
48-
preprocess: mdsvex(),
48+
preprocess: mdsvex({
49+
smartypants: {
50+
ellipses: false // true
51+
},
52+
}),
4953
}),
5054

5155
// we'll extract any component CSS out into

‎src/components/Counter/Counter.svx

Copy file name to clipboardExpand all lines: src/components/Counter/Counter.svx
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@
2525
| `incrementText` | `String` | `+` | Text for increment button |
2626
| `decrementText` | `String` | `-` | Text for decrement button |
2727
| `initialValue` | `Number` | `0` | Value to start on |
28+
29+
30+
Hello...

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.