https://github.com/ztftrue/text-mind
Construct a mind map through text
https://github.com/ztftrue/text-mind
Last synced: 10 months ago
JSON representation
Construct a mind map through text
- Host: GitHub
- URL: https://github.com/ztftrue/text-mind
- Owner: ZTFtrue
- License: mit
- Archived: true
- Created: 2019-06-22T01:30:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T14:14:40.000Z (about 5 years ago)
- Last Synced: 2025-05-16T10:13:38.915Z (about 1 year ago)
- Language: TypeScript
- Size: 834 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Text-mind
Construct a mind map through text
## How to run
Download[release](https://github.com/ZTFtrue/Text-mind/releases) __or__ Run from source code:
```sh
npm install
npm run start
```
Then select your file,file like [this](https://github.com/ZTFtrue/Math-study/blob/master/math.gd)
The file is text file by utf-8 encoded.Distinguish comments, configurations, and body text with "###". In front of "###" is the comment and configuration, followed by the body. Currently supported configurations include indented spaces, svg height and width, respectively "svg-height, svg-width, tab-index".
Each action is a node, the content after the double space is not displayed on the node, and the double space indicates the line break. If there is an "@" at the beginning of the line, it means that the line follows the previous line and wraps.


## Troubled
The following problems may occur on some Linux devices.
```sh
[12419:0602/204432.273114:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that ./node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
```
[reference](https://github.com/electron/electron/issues/17972)。
```sh
sudo chown root your_path/node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 your_path/node_modules/electron/dist/chrome-sandbox
```
or
```sh
sudo sysctl kernel.unprivileged_userns_clone=1
```