Skip to content

Commit

Permalink
add markdown-links
Browse files Browse the repository at this point in the history
  • Loading branch information
sheilaCat committed Aug 17, 2020
1 parent c703d3b commit 8d6e8d7
Show file tree
Hide file tree
Showing 11 changed files with 847 additions and 87 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@

All notable changes to the "zknotes" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
[Keep a Changelog](http://keepachangelog.com/)

## [Unreleased]

...

## [0.0.1] - 2020-06-16

### Added
- zk formatted headers / timestamp headers
- wiki-links support
- wiki-links support

## [0.0.2] - 2020-08-17

### Added
- fork feature from [`markdown-links`](https://github.com/tchayen/markdown-links), support graph view
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# zknotes

![](images/logo.png)

English | [Simplified Chinese](README_CN.md)

`zknotes` is a vscode plugin for applying `zettelkasten` notation.
Expand All @@ -28,6 +26,16 @@ The wiki-links of `[[]]` show all zk files in the current directory when you typ

![](images/2020-06-16_3.gif)

### graph-view panel to demonstrate Graph neural networks

fork graph-view feature from [`markdown-links`](https://github.com/tchayen/markdown-links), thanks!

1. `Command + Shift + P/ ⇧⌘P / F1` Display Command Panel

2. select `graphView` to generate the corresponding neural network diagram.

![](images/2020-08-17_1.png)

## Release Notes

### 0.0.1
Expand All @@ -38,9 +46,13 @@ Feature 1: zk formatted headers / timestamp headers

Feature 2: wiki-links support

### 0.0.2

Feature 1: fork feature from [`markdown-links`](https://github.com/tchayen/markdown-links), support graph view

## Roadmap

- [x] timestamp title
- [x] wiki-links
- [ ] timestamp title add configuration
- [ ] graph view
- [x] graph view
18 changes: 15 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# zknotes

![](images/logo.png)

[英文](README.md) | 简体中文

`zknotes`是一款应用`zettelkasten`笔记法的vscode插件。
Expand All @@ -26,6 +24,16 @@

![](images/2020-06-16_3.gif)

### graphView面板展示神经网络知识图谱

fork 自 [`markdown-links`](https://github.com/tchayen/markdown-links) 的 graph-view 面板,感谢!

1. `Command + Shift + P/ ⇧⌘P / F1`显示命令面板

2. 选择`graphView`即可生成对应的神经网络笔记图

![](images/2020-08-17_1.png)

## 发行说明

### 0.0.1
Expand All @@ -36,9 +44,13 @@

特性2: wiki-links支持

### 0.0.2

特性1: fork了[`markdown-links`](https://github.com/tchayen/markdown-links)`graph-view`功能,并根据格式进行兼容

## 路线图

- [x] 时间戳标题
- [x] wiki-links
- [ ] 时间戳标题增加配置
- [ ] graph view
- [x] graph view
Binary file added images/2020-08-17_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
160 changes: 90 additions & 70 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,71 +1,91 @@
{
"name": "zknotes",
"displayName": "zknotes",
"publisher": "sheilacat",
"keywords": ["zk", "zettel", "zettelkasten", "zknote", "zknotes", "markdown"],
"description": "vscode plugin for zk",
"icon": "images/logo.png",
"repository": "https://github.com/sheilaCat/zknotes",
"version": "0.0.1",
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:zknotes.newNote",
"onLanguage:markdown"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "zknotes configuration",
"properties": {
"zknotes.defaultFormat": {
"type": "string",
"default": "yyyyMMddhhmm",
"description": "zk new note default format"
}
},
"grammars": [
{
"language": "markdown",
"scopeName": "text.html.markdown",
"path": "./src/syntaxes/markdown.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.frontmatter": "yaml"
}
}
]
},
"commands": [
{
"command": "zknotes.newNote",
"title": "new zk note"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.45.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.30.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
}
}
"name": "zknotes",
"displayName": "zknotes",
"publisher": "sheilacat",
"keywords": [
"zk",
"zettel",
"zettelkasten",
"zknote",
"zknotes",
"markdown"
],
"description": "vscode plugin for zk",
"icon": "images/logo.png",
"repository": "https://github.com/sheilaCat/zknotes",
"version": "0.0.1",
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:zknotes.newNote",
"onLanguage:markdown",
"onCommand:zknotes.graphView"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "zknotes configuration",
"properties": {
"zknotes.defaultFormat": {
"type": "string",
"default": "yyyyMMddhhmm",
"description": "zk new note default format"
}
},
"grammars": [
{
"language": "markdown",
"scopeName": "text.html.markdown",
"path": "./src/syntaxes/markdown.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.frontmatter": "yaml"
}
}
]
},
"commands": [
{
"command": "zknotes.newNote",
"title": "new zk note"
},
{
"command": "zknotes.graphView",
"title": "graph view"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.45.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.30.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@types/md5": "^2.2.0",
"md5": "^2.2.1",
"remark-frontmatter": "^2.0.0",
"remark-parse": "^8.0.2",
"remark-wiki-link": "^0.0.4",
"unified": "^9.0.0"
}
}
Loading

0 comments on commit 8d6e8d7

Please sign in to comment.