Skip to content

Commit

Permalink
% type, v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chuangzhu committed Dec 10, 2021
1 parent b23b4ee commit 680ed38
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A WYSIWYG Markdown editor for [Standard Notes](https://standardnotes.com), based

## Usage

Click *Extensions > Import Extensions* on your Standard Notes, paste the following URL into it and hit enter.
Click *Settings > Open Preference* on your Standard Notes. On *General > Advanced Settings > Install Custom Extension*, paste the following URL into it and hit enter.

```
https://sn-extensions.melty.land/milkdown/ext.json
Expand All @@ -25,7 +25,7 @@ Compress `dist/` into ZIP.
SN automatically moves contents in ZIP up a level -->

```bash
zip -r dist/0.2.0.zip dist
zip -r dist/0.2.1.zip dist
```
Create `dist/ext.json` with this template:

Expand All @@ -35,7 +35,7 @@ Create `dist/ext.json` with this template:
"name": "Milkdown",
"content_type": "SN|Component",
"area": "editor-editor",
"version": "0.2.0",
"version": "0.2.1",
"description": "A WYSIWYG Markdown editor for Standard Notes.",
"url": "https://yourdomain.com/link-to-hosted-extension/",
"download_url": "https://yourdomain.com/link-to-hosted-extension/0.2.0.zip",
Expand Down
2 changes: 1 addition & 1 deletion ext.json.dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "Milkdown - Development",
"content_type": "SN|Component",
"area": "editor-editor",
"version": "0.2.0",
"version": "0.2.1",
"url": "http://localhost:3000/"
}
4 changes: 4 additions & 0 deletions src/theme-basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const iconMapping: Record<Icon, string> = {
select: "select_all",
unchecked: "check_box_outline_blank",
checked: "check_box",
undo: "turn_left",
redo: "turn_right",
liftList: "format_indent_decrease",
sinkList: "format_indent_increase",
};

export const slots: ThemePack["slots"] = () => ({
Expand Down

0 comments on commit 680ed38

Please sign in to comment.