Skip to content

Commit

Permalink
Improve list styles with independent config
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmyersdev committed Sep 28, 2024
1 parent b2c3621 commit a4c89f6
Show file tree
Hide file tree
Showing 8 changed files with 501 additions and 67 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ The `ink-mde/svelte` subpath exports a Svelte component.
These are the default options, and any of them can be overridden when initializing (or reconfiguring) an instance of `ink-mde`.

```ts
// ./src/store.ts#L12-L65
// ./src/store.ts#L12-L66
const options = {
doc: '',
files: {
Expand Down Expand Up @@ -257,6 +257,7 @@ const options = {
tab: true,
shiftTab: true,
},
lists: false,
placeholder: '',
plugins: [
katex(),
Expand Down
2 changes: 1 addition & 1 deletion examples/demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ window.ink = ink(document.getElementById('app')!, {
},
interface: {
images: true,
lists: true,
readonly: false,
spellcheck: true,
toolbar: true,
},
lists: true,
placeholder: 'Start typing...',
readability: true,
toolbar: {
Expand Down
Loading

0 comments on commit a4c89f6

Please sign in to comment.