Skip to content

Commit

Permalink
feat: codeblock markmap
Browse files Browse the repository at this point in the history
  • Loading branch information
plylrnsdy committed May 27, 2024
1 parent 7d8125c commit 85e2cae
Show file tree
Hide file tree
Showing 11 changed files with 903 additions and 41 deletions.
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# Typora Plugin Example
# Typora Plugin Markmap

This a plugin based on [typora-community-plugin](https://github.com/typora-community-plugin/typora-community-plugin) for [Typora](https://typora.io).
English | [简体中文](./README.zh-CN.md)

This a plugin based on [typora-community-plugin][core] for [Typora](https://typora.io).

Use Markmap in Typora:

- [x] codeblock type: `markmap`



## Preview

![](./docs/assets/base.png)



## Install

1. Install [typora-community-plugin][core]
2. Open "Settings -> Plugin Marketplace" search "Markmap" then install it.



[core]: https://github.com/typora-community-plugin/typora-community-plugin
26 changes: 26 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Typora Plugin Markmap

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

这是一个基于 [typora-community-plugin][core] 开发的,适用于 [Typora](https://typora.io) 的插件。

在 Typora 中使用 Markmap:

- [x] `markmap` 类型代码块



## 预览

![](./docs/assets/base.png)



## 安装

1. 安装 [typora-community-plugin][core]
2. 在 “设置 -> 插件市场” 中搜索 “Markmap” 并安装



[core]: https://github.com/typora-community-plugin/typora-community-plugin
Binary file added docs/assets/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "typora-plugin-example",
"name": "typora-plugin-markmap",
"version": "",
"description": "",
"type": "module",
Expand All @@ -25,17 +25,23 @@
"@rollup/plugin-virtual": "^3.0.2",
"@types/jquery": "3.3.1",
"@types/node": "16.18.0",
"@types/typora": "npm:@typora-community-plugin/typora-types@^1.0.5",
"@typora-community-plugin/core": "^2.0.0-beta.37",
"@types/typora": "npm:@typora-community-plugin/typora-types@^1.0.6",
"@typora-community-plugin/core": "^2.0.0",
"archiver": "^5.3.2",
"esbuild": "^0.19.2",
"esbuild-plugin-typora": "npm:@typora-community-plugin/esbuild-plugin-typora@^1.0.9",
"esbuild-plugin-typora": "npm:@typora-community-plugin/esbuild-plugin-typora@^1.0.11",
"esbuild-sass-plugin": "^2.12.0",
"rollup": "^4.1.4",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-typora": "npm:@typora-community-plugin/rollup-plugin-typora@^1.0.3",
"sass": "^1.69.5",
"tslib": "^2.6.2",
"typescript": "^5.1.6"
},
"dependencies": {
"markmap-common": "^0.17.0",
"markmap-lib": "^0.17.0",
"markmap-render": "^0.17.0",
"markmap-view": "^0.17.0"
}
}
Loading

0 comments on commit 85e2cae

Please sign in to comment.