update to vnote 3.0

This commit is contained in:
Le Tan 2021-05-13 07:34:27 +08:00
parent 9b74ae93bc
commit 7f637a3628
132 changed files with 994 additions and 1307 deletions

View File

@ -1,19 +0,0 @@
{
"attachment_folder": "_v_attachments",
"created_time": "2018-11-24T05:00:58Z",
"files": [
],
"image_folder": "",
"recycle_bin_folder": "_v_recycle_bin",
"sub_directories": [
{
"name": "en_us"
},
{
"name": "zh_cn"
}
],
"tags": [
],
"version": "1"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

View File

@ -1,68 +0,0 @@
# VNote 2.2 Released
After nearly two months, I am glad to announce the release of VNote 2.2!
Before touching the thrilling updates of 2.2, I want to tell you that VNote now has a new [website](https://tamlok.github.io/vnote). From now on, we could combine the home page and documentatioin together in one place. It is generated by [Viki](https://tamlok.github.io/viki), another open source project that I wrote for VNote.
Viki does not need a server and could recognize the structure of VNote's notebook. Just put some files of Viki into your notebook, then you can show your notebook as an elegant website to everyone.
Now let me show you what VNote 2.2 could now accomplish!
## Table
Many users have requested to improve the edit experience of table since the very beginning. Now it comes!
There is now a tool button to insert table.
Syntax highlight and auto-alignment of GFM table:
![Syntax Highlight of Table](_v_images/20181215102857764_1912483808.png)
Easy to add cells, columns, or rows:
![Smart Table](_v_images/20181215103334371_1230109715.gif)
In future releases, I will add shortcuts and context menu for table edit.
## Auto Scroll Cursor Line
Now you could have VNote's cursor line being locked at the center of the editor while editing, even at the end of the document.
![Auto Scroll Cursor Line](_v_images/20181215103813075_446800707.png)
## WaveDrom
VNote now supports WaveDrom for digital timing diagram.
![](_v_images/20181215104104751_2013646281.png)
## Others
VNote now supports spliting the note list out from the folder tree:
![Separate Note List](_v_images/20181215104454914_374198128.png)
Several handy configurations in Settings:
- Editor font to override the style configuration;
- OpenGL option on Windows (now you don't need to declare environment variable);
For editor:
- VNote will try to guess image title from its file name when inserting image;
- Support `~~~` as the fenced code block marker;
For MathJax:
- Support equation number;
- Support `\begin` and `\end` directly without `$$`;
- Support `$..$` in the `\text{}` within `$$..$$`;
VNote now supports alert text via [markdown-it-container](https://github.com/markdown-it/markdown-it-container) plugin. The following lines will generate an alert box:
```
::: alert-info
VNote 2.2 is released!
:::
```
Like this:
![Alert Text](_v_images/20181215104925616_1318070034.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -1,18 +0,0 @@
{
"created_time": "2018-12-15T03:22:40Z",
"files": [
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-12-15T02:10:40Z",
"modified_time": "2018-12-15T02:51:55Z",
"name": "VNote 2.2 Released.md",
"tags": [
]
}
],
"sub_directories": [
],
"version": "1"
}

View File

@ -1,4 +0,0 @@
# Reviews of VNote
Here are some reviews of VNote from users.
- [VIM + Markdown = Sorprendente](http://sergiobelkin.com/posts/vim-%2B-markdown-sorprendente.html)

View File

@ -1,18 +0,0 @@
{
"created_time": "2018-12-15T03:22:52Z",
"files": [
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-12-15T03:23:43Z",
"modified_time": "2018-12-15T03:24:32Z",
"name": "Reviews of VNote.md",
"tags": [
]
}
],
"sub_directories": [
],
"version": "1"
}

View File

@ -1,14 +0,0 @@
{
"created_time": "2018-11-24T07:21:38Z",
"files": [
],
"sub_directories": [
{
"name": "Official"
},
{
"name": "Users"
}
],
"version": "1"
}

17
en_us/css/viki_white.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="512" height="512" version="1.1" viewBox="0 0 135.47 135.47" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<g>
<g transform="matrix(.9082 0 0 .9082 20.729 22.029)"></g>
<g transform="translate(1.5947 2.7809)">
<path transform="matrix(.9082 0 0 .9082 20.729 20.101)" d="m99.826 3.527c-1.158-0.887-7.975-2.01-11.777-1.013-11.022 2.891-30.322 10.657-37.192 18.037-1.248 1.342-1.786 4.783-2.066 7.14-0.138 1.163-0.427 5.422-0.427 5.422s-0.899-3.585-0.777-5.446c0.092-1.411 0.73-4.823 0.73-4.823s-13.54 9.34-15.829 15.74c-0.481 1.346-0.568 4.324-0.514 5.822 0.044 1.222 0.407 4.623 0.481 5.297-9e-3 8e-3 -0.018 0.019-0.027 0.026-0.206-0.466-1.213-2.799-1.509-4.603-0.246-1.505-0.194-5.13-0.194-5.13s-3.525 3.663-4.275 5.244c-0.538 1.133-0.896 3.581-0.648 4.809 0.25 1.234 1.98 4.538 1.98 4.538l0.133 0.073c-11.837 13.213-18.619 22.707-22.276 28.459-2.292 3.607-3.647 6.19-4.381 7.72-0.463 0.969-0.743 1.649-0.896 2.05-0.252 0.664-0.515 1.349-0.256 2.168l0.394 1.248 1.281 0.286c0.645 0.141 1.585 0.086 2.423-0.986 0.096-0.123 0.233-0.306 0.411-0.547 0.328-0.441 0.801-1.091 1.405-1.918 3.425-4.693 11.446-15.688 20.325-26.44 0.926-1.124 4.174-4.877 8.432-9.49 2.14 0.941 4.439 2.573 5.384 2.445 2.625-0.357 7.169-3.295 9.405-4.885 2.095-1.488 7.611-5.524 7.605-7.025-4e-3 -1.054-2.699-1.647-3.645-2.114-1.215-0.6-5.007-2.077-5.007-2.077s3.767 0.69 5.294 1.222c2.41 0.839 5.924 2.522 5.924 2.522s8.781-6.03 11.508-8.242c5.082-4.127 13.09-10.908 12.732-11.6-0.172-0.329-2.443-0.783-4.309-1.971-1.568-0.999-3.096-3.057-3.096-3.057s1.697 1.296 3.754 2.284c2.055 0.987 4.627 1.17 4.627 1.17s9.674-10.939 13.779-17.417c1.452-2.292 1.397-4.706 1.094-4.938zm-29.142 18.175c-7.912 5.677-11.641 9.547-19.387 16.078-10.872 9.164-24.848 25.229-26.702 27.475-11.953 14.477-22.185 29.15-22.323 29.119-0.138-0.03 4.081-12.741 29.645-40.76 9.757-10.692 21.995-21.738 32.544-29.373 17.088-12.367 31.266-17.944 31.266-17.944s-11.77 5.883-25.043 15.405z" fill="#eeeeee"/>
<g transform="matrix(.47704 0 0 .47704 48.114 71.761)">
<g dominant-baseline="text-before-edge" fill="#eeeeee" aria-label="Viki">
<path d="m53.789 6.6866-29.336 56.875h-6.5234l-11.484-56.875h7.6953l8.2812 46.797 23.125-46.797z" dominant-baseline="text-before-edge"/>
<path d="m59.922 10.202q0-1.8359 1.1328-3.0469 1.1719-1.25 3.0078-1.2891 1.8359-0.039063 3.0078 1.1328 1.2109 1.1719 1.1719 2.9688 0 1.7969-1.2109 3.0078-1.1719 1.1719-2.9688 1.2109-1.7969 0.03906-2.9688-1.0547-1.1719-1.1328-1.1719-2.9297zm5.6641 11.094-7.3438 42.266h-7.0703l7.3438-42.266z" dominant-baseline="text-before-edge"/>
<path d="m95.508 63.562-10.781-19.531-5.5469 4.9609-2.5391 14.57h-7.1094l10.43-60h7.1094l-6.25 35.82 4.2578-4.2969 15.039-13.789 9.1797 0.03906-19.414 17.93 13.398 24.297z" dominant-baseline="text-before-edge"/>
<path d="m118.2 10.202q0-1.8359 1.1328-3.0469 1.1719-1.25 3.0078-1.2891 1.8359-0.039063 3.0078 1.1328 1.2109 1.1719 1.1719 2.9688 0 1.7969-1.2109 3.0078-1.1719 1.1719-2.9688 1.2109-1.7969 0.03906-2.9688-1.0547-1.1719-1.1328-1.1719-2.9297zm5.6641 11.094-7.3438 42.266h-7.0703l7.3438-42.266z" dominant-baseline="text-before-edge"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 104 KiB

View File

@ -7,7 +7,7 @@
xmlns="http://www.w3.org/2000/svg"
id="svg8"
version="1.1"
viewBox="0 0 135.46666 135.46666"
viewBox="0 0 135.46666 135.46667"
height="512"
width="512">
<defs
@ -25,20 +25,32 @@
</rdf:RDF>
</metadata>
<g
transform="translate(0,-161.53335)"
id="g4579"
id="g3629"
style="display:inline">
<path
id="path4682"
d="m 42.289995,195.6223 -20.278396,3.3e-4 25.334055,70.74483 c 0.448204,1.32121 2.064047,4.66939 4.092726,4.73001 l 21.555975,0.0275 c -8.602263,-24.03459 -17.204501,-48.0692 -25.806767,-72.10379 -0.624661,-1.37844 -2.606139,-3.39892 -4.897593,-3.39892 z"
style="fill:#eeeeee;fill-opacity:1;stroke:none;stroke-width:0.2399714;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path856"
d="M 113.45506,217.57986 C 97.982428,237.70991 80.859596,259.34026 72.994356,271.125 l -6.893565,-23.90176 33.174646,-43.1022 z"
style="fill:#eeeeee;fill-opacity:1;stroke:none;stroke-width:0.2399714;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4577"
d="m 113.44472,191.54848 c 0.0504,-1.94436 -1.34529,-4.1252 -3.90208,-4.13813 l -22.932325,-0.002 c 5.340575,7.09033 15.661615,18.31157 26.844745,30.17171 z"
style="fill:#eeeeee;fill-opacity:1;stroke:none;stroke-width:0.21666166;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
id="path3621"
transform="scale(0.26458333)"
d="m 375.23047,34.927734 -297.44922,0.0059 c -5.331878,0 -9.644531,4.312653 -9.644531,9.644531 0,0.123061 0.03516,0.246117 0.03516,0.369141 V 392.0293 467.06641 c -0.006,0.11716 -0.03516,0.23049 -0.03516,0.34765 0,0.11717 0.02949,0.22816 0.03516,0.34571 v 0.44531 h 0.04687 c 0.410143,4.95103 4.506006,8.85156 9.5625,8.85156 v 0.008 l 356.433591,0.0117 h 0.16993 v -0.0195 c 5.24983,-0.0937 9.47459,-4.35173 9.47461,-9.625 l -0.008,-0.0586 0.0117,-373.767581 h -0.0332 c -0.17008,-5.120946 -4.30096,-9.214847 -9.44531,-9.308594 v -0.01953 h -19.6875 l -0.008,353.919925 0.008,0.0586 c 0,5.27327 -4.22477,9.53318 -9.47461,9.63281 v 0.0312 l -298.26758,-0.0117 c -4.78111,0 -8.718773,-3.48647 -9.486331,-8.05664 V 418.74626 H 375.22441 v -0.0195 c 0.0644,0 0.12306,0.0195 0.18164,0.0195 5.33189,0 9.64453,-4.30681 9.64453,-9.64453 0,-0.034 -0.0117,-0.0703 -0.0117,-0.0703 l 0.0117,-364.453124 c 0,-5.331878 -4.31264,-9.650391 -9.64453,-9.644531 -0.0586,0 -0.1172,0.01758 -0.17578,0.01758 z"
style="fill:#ffffff;fill-opacity:1;stroke-width:5.85920572" />
</g>
<g
id="layer1">
<g
style="display:inline;fill:#00897b;fill-opacity:1"
id="g4579"
transform="matrix(0.71356712,0,0,0.71356712,12.076008,-100.6298)">
<path
style="fill:#00897b;fill-opacity:1;stroke:none;stroke-width:0.2399714;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 42.289995,195.6223 -20.278396,3.3e-4 25.334055,70.74483 c 0.448204,1.32121 2.064047,4.66939 4.092726,4.73001 l 21.555975,0.0275 c -8.602263,-24.03459 -17.204501,-48.0692 -25.806767,-72.10379 -0.624661,-1.37844 -2.606139,-3.39892 -4.897593,-3.39892 z"
id="path4682" />
<path
style="fill:#00897b;fill-opacity:1;stroke:none;stroke-width:0.2399714;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 113.45506,217.57986 C 97.982428,237.70991 80.859596,259.34026 72.994356,271.125 l -6.893565,-23.90176 33.174646,-43.1022 z"
id="path856" />
<path
style="fill:#00897b;fill-opacity:1;stroke:none;stroke-width:0.21666166;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 113.44472,191.54848 c 0.0504,-1.94436 -1.34529,-4.1252 -3.90208,-4.13813 l -22.932325,-0.002 c 5.340575,7.09033 15.661615,18.31157 26.844745,30.17171 z"
id="path4577" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -3,26 +3,26 @@
"files": [
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:11:19Z",
"modified_time": "2018-11-24T12:12:19Z",
"id": "0",
"modified_time": "2018-11-24T12:11:19Z",
"name": "Build VNote.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2019-03-31T07:23:55Z",
"modified_time": "2019-03-31T07:44:16Z",
"id": "0",
"modified_time": "2019-03-31T07:23:55Z",
"name": "Localization and Translations.md",
"tags": [
]
}
],
"sub_directories": [
"folders": [
],
"id": "0",
"modified_time": "2021-05-12T12:13:25Z",
"version": "1"
}

View File

@ -3,126 +3,116 @@
"files": [
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T11:05:58Z",
"modified_time": "2019-01-25T10:27:43Z",
"id": "0",
"modified_time": "2018-11-24T11:05:58Z",
"name": "welcome.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:08:25Z",
"modified_time": "2018-11-24T12:08:51Z",
"id": "0",
"modified_time": "2018-11-24T12:08:25Z",
"name": "Why VNote.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:09:23Z",
"modified_time": "2018-11-24T12:09:35Z",
"id": "0",
"modified_time": "2018-11-24T12:09:23Z",
"name": "Get Started.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:13:02Z",
"modified_time": "2018-11-24T12:13:17Z",
"id": "0",
"modified_time": "2018-11-24T12:13:02Z",
"name": "Notes Management.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:15:19Z",
"modified_time": "2018-11-24T12:15:27Z",
"id": "0",
"modified_time": "2018-11-24T12:15:19Z",
"name": "Snippet.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:16:15Z",
"modified_time": "2018-11-24T12:16:24Z",
"id": "0",
"modified_time": "2018-11-24T12:16:15Z",
"name": "Magic Word.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:17:11Z",
"modified_time": "2018-11-24T12:17:14Z",
"id": "0",
"modified_time": "2018-11-24T12:17:11Z",
"name": "Template.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:18:17Z",
"modified_time": "2018-11-24T12:18:24Z",
"id": "0",
"modified_time": "2018-11-24T12:18:17Z",
"name": "Themes and Styles.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:19:30Z",
"modified_time": "2019-12-16T23:55:02Z",
"id": "0",
"modified_time": "2018-11-24T12:19:30Z",
"name": "Export.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:20:52Z",
"modified_time": "2018-11-24T12:20:54Z",
"id": "0",
"modified_time": "2018-11-24T12:20:52Z",
"name": "Full-Text Search.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2019-11-29T23:45:27Z",
"modified_time": "2019-11-30T02:29:33Z",
"id": "0",
"modified_time": "2019-11-29T23:45:27Z",
"name": "Image Hosting.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T12:22:16Z",
"modified_time": "2018-11-24T12:22:19Z",
"id": "0",
"modified_time": "2018-11-24T12:22:16Z",
"name": "Frequently Asked Questions.md",
"tags": [
]
}
],
"sub_directories": [
"folders": [
],
"id": "0",
"modified_time": "2021-05-12T12:13:25Z",
"version": "1"
}

View File

@ -2,7 +2,7 @@
"created_time": "2018-11-24T07:21:54Z",
"files": [
],
"sub_directories": [
"folders": [
{
"name": "Users"
},
@ -10,5 +10,7 @@
"name": "Developers"
}
],
"id": "0",
"modified_time": "2021-05-12T12:13:25Z",
"version": "1"
}

View File

@ -1,14 +0,0 @@
# Donate
VNote is an open source and free project maintained by the author in part time. Please consider helping VNote to grow up.
- Keep monitoring VNote and sending feedback for improvement.
- Spread and promote VNote to your friends.
- Participate in the development of VNote or refine VNote's documentation to make VNote perfect.
- Really appreciate your donate to VNote.
- **PayPal**: [PayPal.Me/vnotemd](https://www.paypal.me/vnotemd)
- Alipay: `tamlokveer@gmail.com`
![](_v_images/20181124165109541_999429459.png =256x)
- WeChat
![](_v_images/20181124165142716_2035299364.png =256x)
Thank [those](https://github.com/tamlok/vnote/wiki/Donate-List) who donated to VNote!

View File

@ -5,66 +5,8 @@ To upgrade VNote, you could just simply remove the old package and download the
:::
## Windows
### Official Zip ![](https://ci.appveyor.com/api/projects/status/github/tamlok/vnote?svg=true)
Continuous builds on `master` branch could be found at the [Continuous Build](https://github.com/vnotex/vnote/releases/tag/continuous-build) release.
- [GitHub releases](https://github.com/tamlok/vnote/releases)
- Latest builds on master: [ ![Download](https://api.bintray.com/packages/tamlok/vnote/vnote/images/download.svg) ](https://bintray.com/tamlok/vnote/vnote/_latestVersion)
Latest stable builds could be found at the [latest release](https://github.com/vnotex/vnote/releases/latest). Alternative download services are available:
::: alert-warning
**NOT** supported in XP since QtWebEngineProcess used by VNote could not work in XP.
:::
### Scoop
VNote can be installed from `extras` bucket of Scoop.
```shell
scoop bucket add extras
scoop install vnote
scoop update vnote
```
## Linux
### AppImage ![](https://travis-ci.org/tamlok/vnote.svg?branch=master)
There is an AppImage format standalone executable of VNote for major Linux distributions. **Any help for packaging and distribution on Linux is appreciated!**
- [GitHub releases](https://github.com/tamlok/vnote/releases)
- Latest builds on master: [ ![Download](https://api.bintray.com/packages/tamlok/vnote/vnote/images/download.svg) ](https://bintray.com/tamlok/vnote/vnote/_latestVersion)
### openSUSE
Currently `vnote` on openSUSE Tumbleweed can be installed from `home:opensuse_zh` project on OBS. You can execute the following command directly:
```shell
sudo zypper ar https://download.opensuse.org/repositories/home:/opensuse_zh/openSUSE_Tumbleweed/ home:opensuse_zh
sudo zypper ref
sudo zypper in vnote
```
For other architectures, please search for `vnote` at [software.opensuse.org](https://software.opensuse.org).
We don't support Leap 42 and below due to the Qt version. Please use AppImage or build it yourself.
### Arch Linux
VNote on Arch Linux can be installed from the AUR as [vnote](https://aur.archlinux.org/packages/vnote-bin/):
```shell
git clone https://aur.archlinux.org/vnote-bin.git
cd vnote-bin
makepkg -sic
```
There is also a development version that tracks the latest master [vnote-git](https://aur.archlinux.org/packages/vnote-git/).
## MacOS ![](https://travis-ci.org/tamlok/vnote.svg?branch=master)
- [GitHub releases](https://github.com/tamlok/vnote/releases)
- Latest builds on master: [ ![Download](https://api.bintray.com/packages/tamlok/vnote/vnote/images/download.svg) ](https://bintray.com/tamlok/vnote/vnote/_latestVersion)
You can also install VNote using homebrew, through the cask tap:
```shell
brew cask install vnote
```
* [Tianyi Netdisk](https://cloud.189.cn/t/Av67NvmEJVBv)

View File

@ -9,18 +9,18 @@
<link id="favicon" rel="icon" href="https://github.com/tamlok/viki/raw/master/resources/viki.ico">
<!-- Bootstrap CSS -->
<link href="https://cdn.bootcss.com/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jstree@3.3.7/dist/themes/default/style.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.7/themes/default/style.min.css">
<link href="css/highlightjs.css" rel="stylesheet">
<link href="css/viki.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link rel="stylesheet" href="css/highlightjs.css">
<link rel="stylesheet" href="css/viki.css">
<link rel="stylesheet" href="css/custom.css">
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://cdn.bootcss.com/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
<!--
<script src="https://cdn.bootcss.com/highlight.js/9.13.1/highlight.min.js"></script>
@ -45,13 +45,13 @@
<!--
<script src="https://cdn.bootcss.com/mermaid/8.0.0-rc.8/mermaid.min.js"></script>
-->
<script src="https://cdn.jsdelivr.net/npm/mermaid@8.0.0-rc.8/dist/mermaid.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.2.7/raphael.min.js"></script>
<!--
<script src="https://cdn.bootcss.com/flowchart/1.11.3/flowchart.min.js"></script>
-->
<script src="https://cdn.jsdelivr.net/npm/flowchart.js@1.11.3/release/flowchart.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowchart/1.11.3/flowchart.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wavedrom/1.6.2/skins/default.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wavedrom/1.6.2/wavedrom.min.js"></script>
@ -61,7 +61,7 @@
<script src="http://s.plantuml.com/zopfli.raw.min.js"></script>
-->
<script src="https://cdn.jsdelivr.net/npm/jstree@3.3.7/dist/jstree.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.7/jstree.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_HTMLorMML" async></script>

View File

@ -1,21 +1,18 @@
# VNote
**A note-taking application that knows programmers and Markdown better!**
**A pleasant note-taking platform!**
::: alert-success
VNote 2.9.1 is released! Check out [what's new](https://github.com/tamlok/vnote/releases)!
Check this [showcase screencast](https://www.youtube.com/watch?v=EFCmCFZKxJ4) to know what you could do with VNote!
VNote 3.0.1 is released! Check out [what's new](https://github.com/vnotex/vnote/releases)!
:::
- Join VNote on [GitHub](https://github.com/tamlok/vnote)
- Join VNote on [GitHub](https://github.com/vnotex/vnote)
- Chat on [Slack](https://join.slack.com/t/vnote/shared_invite/enQtNDg2MzY0NDg3NzI4LTVhMzBlOTY0YzVhMmQyMTFmZDdhY2M3MDQxYTBjOTA2Y2IxOGRiZjg2NzdhMjkzYmUyY2VkMWJlZTNhMTQyODU)
- [Telegram](https://t.me/vnotex)
- Subscribe to WeChat **vnote_md**
## Open source and free
- Open source in [MIT](http://opensource.org/licenses/MIT) license
- Open source in [GNU LGPLv3](https://opensource.org/licenses/LGPL-3.0) license
- Powered by Qt and C++
- Available on Linux, Windows, and macOS
@ -58,7 +55,7 @@ Check this [showcase screencast](https://www.youtube.com/watch?v=EFCmCFZKxJ4) to
![](_v_images/20181124160655553_1770055980.svg =512x)
## By programmers, for programmers
- Vim mode and Vim-like navigation
- Vi mode and Vi-like navigation
- Line number in editor
- Multiple tabs
- Window splits

File diff suppressed because one or more lines are too long

View File

@ -15,20 +15,15 @@
"target": "screenshots.md",
"toc": false
},
{
"text": "Blogs",
"target": "blogs/_vnote.json",
"navi": true
},
{
"text": "Documentation",
"target": "docs/_vnote.json",
"target": "docs/vx.json",
"navi": true,
"navi_index": "Users/welcome.md"
},
{
"text": "Donate",
"target": "donate.md",
"text": "VNoteX",
"target": "vnotex.md",
"toc": false
},
{
@ -47,7 +42,7 @@
{
"text": "GitHub",
"icon": "css/github.svg",
"target": "https://github.com/tamlok/vnote"
"target": "https://github.com/vnotex/vnote"
},
{
"text": "Slack",

View File

@ -1,7 +1,7 @@
{
"brand": "VNote",
"brand_icon": "css/vnote_white.svg",
"title": "VNote - A note-taking application that knows programmers and Markdown better",
"title": "VNote - A pleasant note-taking platform",
"favicon": "css/vnote.ico",
"footer": "VNote is developed and maintained by Le Tan.",
"show_suffix": false,

2
en_us/vnotex.md Normal file
View File

@ -0,0 +1,2 @@
# VNoteX
VNoteX is the premium version of VNote. More details are coming soon!

View File

@ -3,52 +3,56 @@
"files": [
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T05:04:27Z",
"modified_time": "2019-11-29T23:43:00Z",
"id": "0",
"modified_time": "2021-05-12T12:52:36Z",
"name": "index.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T07:21:01Z",
"modified_time": "2018-11-24T10:47:51Z",
"id": "0",
"modified_time": "2021-05-12T12:56:52Z",
"name": "downloads.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T07:21:10Z",
"modified_time": "2018-11-24T10:52:55Z",
"id": "0",
"modified_time": "2018-11-24T07:21:10Z",
"name": "screenshots.md",
"tags": [
]
},
{
"attachment_folder": "",
"attachments": [
],
"created_time": "2018-11-24T08:46:16Z",
"modified_time": "2018-11-24T11:04:32Z",
"name": "donate.md",
"created_time": "2021-05-12T12:16:02Z",
"id": "0",
"modified_time": "2021-05-12T12:16:02Z",
"name": "navigation.json",
"tags": [
]
},
{
"attachment_folder": "",
"created_time": "2021-05-12T12:47:59Z",
"id": "0",
"modified_time": "2021-05-12T12:59:21Z",
"name": "vnotex.md",
"tags": [
]
}
],
"sub_directories": [
{
"name": "blogs"
},
"folders": [
{
"name": "docs"
}
],
"id": "0",
"modified_time": "2021-05-12T12:13:25Z",
"version": "1"
}

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="VNote - A note-taking application that knows programmers and Markdown better." >
<meta name="description" content="VNote - A pleasant note-taking platform." >
<script type="text/javascript">
var redir = (function() {
var languageString = navigator.language || navigator.userLanguage || '';

19
vx.json Normal file
View File

@ -0,0 +1,19 @@
{
"created_time": "2021-05-12T12:13:25Z",
"files": [
],
"folders": [
{
"name": "vx_recycle_bin"
},
{
"name": "en_us"
},
{
"name": "zh_cn"
}
],
"id": "1",
"modified_time": "2021-05-12T12:13:25Z",
"version": "1"
}

View File

@ -0,0 +1,11 @@
{
"attachment_folder": "_v_attachments",
"config_mgr": "vx.vnotex",
"created_time": "2018-11-24T05:00:58Z",
"description": "",
"image_folder": "vx_images",
"name": "vnote-docs",
"next_node_id": "3",
"version": "1",
"version_controller": "dummy.vnotex"
}

10
vx_recycle_bin/vx.json Normal file
View File

@ -0,0 +1,10 @@
{
"created_time": "2021-05-12T12:13:25Z",
"files": [
],
"folders": [
],
"id": "0",
"modified_time": "2021-05-12T12:13:25Z",
"version": "1"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View File

@ -1,118 +1,118 @@
# VNote 插入图片
孙建虎 2018-07-18 Rev 2018-08-14
以前用 MS Word 写图文教程的时候,图片往往被压缩了,而文中的图片要么删除了,要么早就不知去向了,后期需要再次使用图片的时候往往因为没有了原始图片而懊恼。自从使用 Markdown 编写图文教程之后就再也没有这个烦恼了。
图文教程,顾名思义,要有图的,而且往往有很多图。那在 VNote 中怎样插入图片最省力呢?这也许没有固定的答案吧,不同应用场景应该有不同的处理方式,而且对于每个人也许不同的插入方式效率也是不一样的。
我使用 VNote 的内部笔记,而不是独立文件,后文的文件路径基于 `笔记本` > `文件夹` > `笔记` 层次为 `D:\MyVNote\2018\July\笔记`
## 边用 Shinpaste 截图,边插入图片
### 新建片段
该操作在 VNote 软件右侧 `工具` 窗格中完成。
如果没有看到 `工具` 窗格,可以使用快捷键 `Ctrl+E, T` 或菜单操作 `查看` > `工具` 来打开此窗格。
单击 `片段` 选项卡图标 ![](media/Snipaste_2018-07-18_10-58-38.png),再单击 `片段` 选项卡下的 `新建片段` 图标 ![](media/Snipaste_2018-07-18_11-02-14.png),在弹出的 `新建片段` 对话框中建立 `media` 片段。
![新建片段](media/Snipaste_2018-07-18_11-03-56.png)
### 截图
启动 Snipaste截图快捷键默认为 `F1`,截图后按下快捷键 `Ctrl+S`,弹出 `图像另存为` 对话框,第一次设置保存路径为 `D:\MyVNote\2018\July\media`,之后默认为此路径,进入 `图像另存为` 对话框的焦点自动在 `文件名`,按下快捷键 `Ctrl+C` 复制文件名,单击 `保存` 按钮。
![图像另存为](media/Snipaste_2018-07-18_10-28-35.png)
### 插入图片
在 VNote 中,双击右侧 `工具` 窗格中 `片段` 选项卡下刚刚新建的 `media` 片段,插入片段 `meida`,再按下快捷键 `Ctrl+V`,在弹出的 `粘贴选项` 对话框中选择 `作为文本插入`
![作为文本插入](media/Snipaste_2018-07-18_11-17-03.png)
### 更快捷的插入图片
启动 Snipaste截图快捷键默认为 `F1`,截图后,可以进行一些编辑和标,然后按下快捷键 `Ctrl+C`注复制截图到剪贴板,在 VNote 中,按下快捷键 `Ctrl+V`,在弹出的 `从剪贴板中插入图片` 对话框中输入图片标题。
![从剪贴板中插入图片](media/_从剪贴板中插入图片_1532297750_24404.png)
## 插入外部图片
复制单个图片文件,在 VNote 中,按下快捷键 `Ctrl+V`,在弹出的 `粘贴选项` 对话框中选择 `作为图片插入`
![作为图片插入](media/Snipaste_2018-07-18_10-37-43.png)
在弹出的 `Insert Image From File` 对话框输入图片标题,图片文件会被 **复制**`D:\MyVNote\2018\July\media`,并且文件名也会自动修改为以图片标题为前缀的新文件名,在 VNote 中插入形如 `![图片标题](media/新文件名)` 的内容段。
![Insert Image From File](media/Snipaste_2018-07-18_10-37-55.png)
或者使用快捷键 `Ctrl+'`,界面操作为工具栏的 `插入图片` 按钮 ![](media/Snipaste_2018-07-18_16-03-38.png),在弹出的 `插入图片` 对话框中选择图片、输入图片标题,然后单击 `确定` 按钮。
![](media/Snipaste_2018-07-18_16-03-08.png)
## 快速插入大量外部图片
有时候需要根据已有的一堆截图来制作图文教程,这里最麻烦的当属插入图片了。
将图片放入一个文件夹,例如 `media` 文件夹,将 [mkmd.bat](file/mkmd.bat) 文件也放入这个文件夹。
![mkmd.bat 及图片文件在同一个文件夹中](media/Snipaste_2018-07-18_11-37-14.png)
`mkmd.bat` 文件内容为:`tree/f>../Manual.md`,双击运行 `mkmd.bat` 文件,将在 `media` 文件夹同级目录下生成一个 `Manual.md` 文档,即 `Manual.md``media` 文件夹同级。
![Manual.md 与 media 文件夹](media/Snipaste_2018-07-18_11-37-57.png)
使用 Notepad++ 打开与 `media` 文件夹同级的 `Manual.md` ,通过列操作迅速将文本整理成 `![](路径/图片名)` 的形式,`[]` 内可以添加图片说明,这个可以在后续的行文中逐个完成。
![Manual.md](media/Snipaste_2018-07-18_11-38-57.png)
![列操作](media/Snipaste_2018-07-18_11-42-22.png)
对于 Windows 用户,可以直接下载 [32 位Notepad++](https://notepad-plus-plus.org/repository/7.x/7.5.5/npp.7.5.5.Installer.exe) 或 [64 位Notepad++](https://notepad-plus-plus.org/repository/7.x/7.5.5/npp.7.5.5.Installer.x64.exe) 安装使用。
Notepad++ 下进行列编辑,单击 `编辑(E)` > `列块模式...`,即按下键盘 `Alt` 键同时拖动鼠标。
![列操作提示](media/Snipaste_2018-03-15_08-22-57.png)
或者单击 `编辑(E)` > `列块编辑... Alt+C` 进行列编辑。
最后再通过查找替换功能将每行后添加空行。
![Notepad++ 查找替换](media/Snipaste_2018-03-12_19-36-05.png)
![添加空行后](media/Snipaste_2018-07-18_11-43-18.png)
现在的 `Manual.md` 就可以用来写图文教程用了,图片文件也要复制到 `D:\MyVNote\2018\July\media` 路径下,毕竟我们还是要使用内部笔记的。
## 管理文件
除了使用 VNote 来编辑图文教程,我还用 VNote 来管理文档,例如,我用 VNote 编辑一个名为 [法律](file\法律.md) 的 Markdown 文档,以此来管理我搜集到的一些法律相关的文件(使用相对路径),文档内容举例如下:
```Markdown
# 法律
* [中华人民共和国建筑法 2011/7/1](中华人民共和国建筑法.txt)
* [中华人民共和国城乡规划法 2008/1/1](中华人民共和国城乡规划法.txt)
废止《中华人民共和国城市规划法》
* [中华人民共和国合同法 1999/10/1](中华人民共和国合同法.txt)
废止《中华人民共和国经济合同法》
《中华人民共和国涉外经济合同法》
《中华人民共和国技术合同法》
* [中华人民共和国招标投标法 2000/1/1](中华人民共和国招标投标法.txt)
……
```
## 收尾
简述了三种不同应用场景下的插入图片方式当然方式远远不止这几种Vnote 粉可以不断尝试各种方法,找到适合自己的舒适、高效的方法。
保存的时候,没有用到的图片会被清理的。
# VNote 插入图片
孙建虎 2018-07-18 Rev 2018-08-14
以前用 MS Word 写图文教程的时候,图片往往被压缩了,而文中的图片要么删除了,要么早就不知去向了,后期需要再次使用图片的时候往往因为没有了原始图片而懊恼。自从使用 Markdown 编写图文教程之后就再也没有这个烦恼了。
图文教程,顾名思义,要有图的,而且往往有很多图。那在 VNote 中怎样插入图片最省力呢?这也许没有固定的答案吧,不同应用场景应该有不同的处理方式,而且对于每个人也许不同的插入方式效率也是不一样的。
我使用 VNote 的内部笔记,而不是独立文件,后文的文件路径基于 `笔记本` > `文件夹` > `笔记` 层次为 `D:\MyVNote\2018\July\笔记`
## 边用 Shinpaste 截图,边插入图片
### 新建片段
该操作在 VNote 软件右侧 `工具` 窗格中完成。
如果没有看到 `工具` 窗格,可以使用快捷键 `Ctrl+E, T` 或菜单操作 `查看` > `工具` 来打开此窗格。
单击 `片段` 选项卡图标 ![](media/Snipaste_2018-07-18_10-58-38.png),再单击 `片段` 选项卡下的 `新建片段` 图标 ![](media/Snipaste_2018-07-18_11-02-14.png),在弹出的 `新建片段` 对话框中建立 `media` 片段。
![新建片段](media/Snipaste_2018-07-18_11-03-56.png)
### 截图
启动 Snipaste截图快捷键默认为 `F1`,截图后按下快捷键 `Ctrl+S`,弹出 `图像另存为` 对话框,第一次设置保存路径为 `D:\MyVNote\2018\July\media`,之后默认为此路径,进入 `图像另存为` 对话框的焦点自动在 `文件名`,按下快捷键 `Ctrl+C` 复制文件名,单击 `保存` 按钮。
![图像另存为](media/Snipaste_2018-07-18_10-28-35.png)
### 插入图片
在 VNote 中,双击右侧 `工具` 窗格中 `片段` 选项卡下刚刚新建的 `media` 片段,插入片段 `meida`,再按下快捷键 `Ctrl+V`,在弹出的 `粘贴选项` 对话框中选择 `作为文本插入`
![作为文本插入](media/Snipaste_2018-07-18_11-17-03.png)
### 更快捷的插入图片
启动 Snipaste截图快捷键默认为 `F1`,截图后,可以进行一些编辑和标,然后按下快捷键 `Ctrl+C`注复制截图到剪贴板,在 VNote 中,按下快捷键 `Ctrl+V`,在弹出的 `从剪贴板中插入图片` 对话框中输入图片标题。
![从剪贴板中插入图片](media/_从剪贴板中插入图片_1532297750_24404.png)
## 插入外部图片
复制单个图片文件,在 VNote 中,按下快捷键 `Ctrl+V`,在弹出的 `粘贴选项` 对话框中选择 `作为图片插入`
![作为图片插入](media/Snipaste_2018-07-18_10-37-43.png)
在弹出的 `Insert Image From File` 对话框输入图片标题,图片文件会被 **复制**`D:\MyVNote\2018\July\media`,并且文件名也会自动修改为以图片标题为前缀的新文件名,在 VNote 中插入形如 `![图片标题](media/新文件名)` 的内容段。
![Insert Image From File](media/Snipaste_2018-07-18_10-37-55.png)
或者使用快捷键 `Ctrl+'`,界面操作为工具栏的 `插入图片` 按钮 ![](media/Snipaste_2018-07-18_16-03-38.png),在弹出的 `插入图片` 对话框中选择图片、输入图片标题,然后单击 `确定` 按钮。
![](media/Snipaste_2018-07-18_16-03-08.png)
## 快速插入大量外部图片
有时候需要根据已有的一堆截图来制作图文教程,这里最麻烦的当属插入图片了。
将图片放入一个文件夹,例如 `media` 文件夹,将 [mkmd.bat](file/mkmd.bat) 文件也放入这个文件夹。
![mkmd.bat 及图片文件在同一个文件夹中](media/Snipaste_2018-07-18_11-37-14.png)
`mkmd.bat` 文件内容为:`tree/f>../Manual.md`,双击运行 `mkmd.bat` 文件,将在 `media` 文件夹同级目录下生成一个 `Manual.md` 文档,即 `Manual.md``media` 文件夹同级。
![Manual.md 与 media 文件夹](media/Snipaste_2018-07-18_11-37-57.png)
使用 Notepad++ 打开与 `media` 文件夹同级的 `Manual.md` ,通过列操作迅速将文本整理成 `![](路径/图片名)` 的形式,`[]` 内可以添加图片说明,这个可以在后续的行文中逐个完成。
![Manual.md](media/Snipaste_2018-07-18_11-38-57.png)
![列操作](media/Snipaste_2018-07-18_11-42-22.png)
对于 Windows 用户,可以直接下载 [32 位Notepad++](https://notepad-plus-plus.org/repository/7.x/7.5.5/npp.7.5.5.Installer.exe) 或 [64 位Notepad++](https://notepad-plus-plus.org/repository/7.x/7.5.5/npp.7.5.5.Installer.x64.exe) 安装使用。
Notepad++ 下进行列编辑,单击 `编辑(E)` > `列块模式...`,即按下键盘 `Alt` 键同时拖动鼠标。
![列操作提示](media/Snipaste_2018-03-15_08-22-57.png)
或者单击 `编辑(E)` > `列块编辑... Alt+C` 进行列编辑。
最后再通过查找替换功能将每行后添加空行。
![Notepad++ 查找替换](media/Snipaste_2018-03-12_19-36-05.png)
![添加空行后](media/Snipaste_2018-07-18_11-43-18.png)
现在的 `Manual.md` 就可以用来写图文教程用了,图片文件也要复制到 `D:\MyVNote\2018\July\media` 路径下,毕竟我们还是要使用内部笔记的。
## 管理文件
除了使用 VNote 来编辑图文教程,我还用 VNote 来管理文档,例如,我用 VNote 编辑一个名为 [法律](file\法律.md) 的 Markdown 文档,以此来管理我搜集到的一些法律相关的文件(使用相对路径),文档内容举例如下:
```Markdown
# 法律
* [中华人民共和国建筑法 2011/7/1](中华人民共和国建筑法.txt)
* [中华人民共和国城乡规划法 2008/1/1](中华人民共和国城乡规划法.txt)
废止《中华人民共和国城市规划法》
* [中华人民共和国合同法 1999/10/1](中华人民共和国合同法.txt)
废止《中华人民共和国经济合同法》
《中华人民共和国涉外经济合同法》
《中华人民共和国技术合同法》
* [中华人民共和国招标投标法 2000/1/1](中华人民共和国招标投标法.txt)
……
```
## 收尾
简述了三种不同应用场景下的插入图片方式当然方式远远不止这几种Vnote 粉可以不断尝试各种方法,找到适合自己的舒适、高效的方法。
保存的时候,没有用到的图片会被清理的。
VNote 支持原位预览插入的图片,并且在阅读模式下可以双击图片实现图片在弹出的窗口中预览,可以进行放大、缩小、平移等操作,十分方便。

View File

@ -1,377 +1,377 @@
# 爱上 VNote——软件使用流水账
孙建虎 2018-07-17 Rev 2018-08-14
## 从相识到相爱
最初尝鲜 Markdown 并不是因为对 Markdown 有多么深入的了解,仅仅是出于不断尝试新事物的需要。后来,频繁使用 Markdown 编写图文混排教程,感觉很方便,渐渐爱上了 Markdown不能自拔。
最近,自已一直在用的并且也推荐给他人使用的一款 Markdown 编辑器明确为收费软件了,于是,我就为自己进行了一场 Markdown 编辑器的海选,如下图[^1]所示。
[^1]: 文中软件截图使用 [Snipaste](https://zh.snipaste.com/download.html)(与 VNote 一样优秀的国产截图、贴图和标注软件);图片后期处理使用了 [paint.net](https://www.getpaint.net/redirect/main_hm.html);本文编辑使用 VNote。
![Markdown 编辑器海选:边比较边整理,选定 VNote 之后就没再完善此表了,所以有些信息不一定准确。](media/Snipaste_2018-07-17_15-41-56.png)
说来也是缘分,刚看到 VNote 时,扁平化的设计、小清新的风格让我眼前一亮(我是颜控),但第一次启动软件的时候,竟然要我设置路径,心想:至于么,我就是要个 Markdown 编辑器而已,遂转身离开。
![透着小清新的 VNote Logo](media/Logo.png)
几天的海选,不断搜索、下载、试用、比较,始终没有完全合意的。突然又想起了那个高颜值的 VNote从某种程度上说颜值也是生产力啊没有真正试用就放弃了实在心有不甘于是摒弃浮躁的心态静下心来与 VNote 相处,越处越爱,越觉着离不开 VNote 了,每天摸索一下,小惊喜不断。相信你也一定会像我一样认同 VNote 的设计理念爱屋及乌VNote 粉也许会透过 VNote 仰慕软件作者吧。
经历各种折腾,查资料、尝试,基本上与 VNote 初步磨合好了,这也是负责任的我推荐 VNote 给他人使用之前的必做功课,并且,我要写一个小教程,目的就是让他人不至于在开始阶段因为不了解 VNote、误解 VNote 或者受到一点小小挫折就愤然离去,错失与一款杰出的 Markdown 编辑器——VNote 相爱的机会(其实远不仅仅是一款编辑器)。
## 下载并安装 VNote 1.19
**注意**:现在已经是 1.21 版本了,建议下载使用最新版本。后文也有我一步步从 1.19 版升级到 1.20 版,再到 1.21 版的流水账。
我使用 Markdown 有很长一段时间了,所以是有 Markdown 语法基础的(其实语法很简单);理工科出身,有处理图表和公式的需要;使用环境为没有互联网连接的中文 Windows 10 x64 系统。目标读者假定和我类似,其他读者权当参考吧。接下来就随我简单认识下 VNote希望这能让你能与 VNote 相爱得更简单些。
本文以 VNote 导出的 Markdown 文档格式提供,建议在 VNote 编辑模式(或者阅读模式)下阅读。
VNote 是采用 MIT License 的开源软件,官网为 https://github.com/tamlok/vnote ,可以在 https://github.com/tamlok/vnote/releases 下载软件Windows 版的 VNote 软件为便携版Portable1.19 版有 2 个可供下载文件:
* 64 位便携版:`VNote_win_X64_portable_1.19.zip`(本文选择下载此文件)
* 32 位便携版:`VNote_win_x86_portable_1.19.zip`
软件作者 `tamlok` 很贴心,还专为国内用户提供了百度网盘下载链接 http://pan.baidu.com/s/1jI5HROq 。
`D` 盘下新建 `MyVNote` 文件夹,将下载的 `VNote_win_X64_portable_1.19.zip` 文件解压到 `D:\MyVNote` 文件夹下(路径可以自选,不过后文相应路径也要对应修改)。
![D:\MyVNote](media/Snipaste_2018-07-17_17-11-49.png)
![D:\MyVNote\VNote](media/Snipaste_2018-07-17_17-11-58.png)
`D:\MyVNote\VNote\VNote.exe` 就是 VNote 软件的主程序,可以将其固定到任务栏或发送到桌面快捷方式,以方便之后快捷启动 VNote 软件,当然,我们也可以通过双击已有的 `*.md` 文件来打开 VNote 软件。
有 VNote 粉说 VNote 竟然不支持新建外部笔记,其实很简单,外部新建一个文本文档,修改后缀名为 `.md` 即可(虽然有点麻烦),并且 VNote 也可以导出笔记为独立文件。VNote 中称呼 `外部笔记``独立文件`,打开外部笔记时,软件界面右下角的位置有 ![](media/Snipaste_2018-07-18_08-20-31.png) 标记,独立文件不能使用诸如 `标签``附件` 等功能,所以我还是强烈建议使用内部笔记,可以很方便地管理笔记,使用更多的特色功能。
### 文件关联 v1不能使用
设置 `*.md` 文件的默认打开方式为 VNote这对于 Windows 用户来说应该很简单,这里提供一个通过导入注册表的方式进行快捷设置的方法,`注册表文件 v1` 内容如下:
```Registry
Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-1862800926-2367917216-3330859151-500_Classes\Applications\VNote.exe\shell\open\command]
@="\"D:\\MyVNote\\VNote\\VNote.exe\" \"%1\""
```
### 文件关联 v2应该可以
重装系统之后发现,`注册表文件 v1` 不能成功导入,对比后发现,每个系统注册表中那串代码是不同的:
* 系统重装前为1862800926-2367917216-3330859151
* 系统重装后为2534397436-3503867807-444227408
对应修改之后可以成功导入注册表,但依然不能成功进行文件关联。几经折腾捣鼓出了 [注册表文件 v2](file/OpenWithVNote_v2.reg),其内容如下:
```Registry
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]
[HKEY_CLASSES_ROOT\Applications\VNote.exe]
[HKEY_CLASSES_ROOT\Applications\VNote.exe\shell]
[HKEY_CLASSES_ROOT\Applications\VNote.exe\shell\open]
[HKEY_CLASSES_ROOT\Applications\VNote.exe\shell\open\command]
@="\"D:\\MyVNote\\VNote\\VNote.exe\" \"%1\""
```
## 首次启动 VNote
首次启动软件,在弹出的 `添加笔记本` 对话框中进行相关设置,单击 `确定` 按钮。
![添加笔记本](media/Snipaste_2018-07-17_17-27-51.png)
再在 `新建根文件夹` 对话框中进行设置,单击 `确定` 按钮。
![新建根文件夹](media/Snipaste_2018-07-17_17-28-23.png)
进入 VNote 软件界面。
![VNote 主界面](media/Snipaste_2018-07-17_17-29-20.png)
使用快捷键 `Ctrl+Alt+N` 新建笔记,在弹出的 `新建笔记` 对话框进行设置,单击 `确定` 按钮。
![新建笔记](media/Snipaste_2018-07-17_17-29-36.png)
从下图所示软件界面中我们也可以看出 VNote 的文件系统遵循 `笔记本` > `文件夹` > `笔记` 的层次,可以很有逻辑地管理笔记。下图表示 `2018Notes` 笔记本下有个 `July` 文件夹,`July` 文件夹下有个 `初识VNote.md` 笔记。
![新建笔记后的界面](media/Snipaste_2018-07-17_17-29-50.png)
`D:\MyVNote` 文件夹下将自动新建一个 `2018` 文件夹,这个文件夹就用来存放笔记本名为 `2018Notes` 的相关文件,例如 `July` 文件夹。
![D:\MyVNote](media/Snipaste_2018-07-17_17-28-33.png)
`D:\MyVNote\2018` 文件夹下将自动建立 `July` 文件夹,用来存放其下的笔记,例如 `初识VNote.md`
![D:\MyVNote\2018](media/Snipaste_2018-07-17_17-28-40.png)
`D:\MyVNote\2018\July` 文件夹下将在首次插入图片和附件时分别自动建立 `media` 文件夹和 `file` 文件夹,用来存放图片和附件。这个设置契合我之前的使用习惯:为每个 Markdown 文档建立一个同级的 `media` 文件夹,用来存放文档中以相对路径方式插入的图片和链接文件。
![D:\MyVNote\2018\July](media/Snipaste_2018-07-17_19-47-33.png)
## 图表公式及导出的一些设置
对于 Markdown 的基本语法,无需赘述。虽然各种编辑器支持的语法各不相同,但总体说来差异不大。对于 VNote 软件,可以单击 `帮助` > `Markdown指南` 来快速回顾语法,了解 VNote 支持的语法,即使遇到以前没有接触过的语法,通过这个帮助也可以很快学会。
VNote 中的图表公式等一些功能通过调用第三方软件来实现,需要我们进行相关设置。
在 https://github.com/mathjax/MathJax/releases 下载 `MathJax`,将下载的 `MathJax-2.7.4.zip` 解压到 `D:\MyVNote\VNote\`,先记下 `D:\MyVNote\VNote\MathJax-2.7.4\MathJax.js?config=TeX-MML-AM_HTMLorMML`
![MathJax-2.7.4 在D:\MyVNote\VNote 路径下 ](media/Snipaste_2018-07-17_17-53-12.png)
![D:\MyVNote\VNote\MathJax-2.7.4](media/Snipaste_2018-07-17_18-41-25.png)
![D:\MyVNote\VNote\MathJax-2.7.4\config](media/Snipaste_2018-07-17_20-10-21.png)
到 https://graphviz.gitlab.io/_pages/Download/Download_windows.html 下载 `Graphviz`,将下载的 `graphviz-2.38.zip` 解压到 `D:\MyVNote\VNote\`,记下 `D:\MyVNote\VNote\graphviz-2.38\bin\dot.exe`
![graphviz-2.38 在 D:\MyVNote\VNote 路径下](media/Snipaste_2018-07-17_18-24-05.png)
![D:\MyVNote\VNote\graphviz-2.38](media/Snipaste_2018-07-17_18-24-15.png)
![D:\MyVNote\VNote\graphviz-2.38\bin](media/Snipaste_2018-07-18_08-37-04.png)
到 http://plantuml.com/download 下载 `PlantUML`,将下载的 `plantuml.1.2018.8.jar` 复制到 `D:\MyVNote\VNote\`,记下 `D:\MyVNote\VNote\plantuml.1.2018.8.jar`
![plantuml.1.2018.8.jar 在 D:\MyVNote\VNote 路径下](media/Snipaste_2018-07-17_18-28-05.png)
到 https://wkhtmltopdf.org/downloads.html 下载 `wkhtmltopdf`,双击下载的 `wkhtmltox-0.12.5-1.msvc2015-win64.exe` 进行默认安装,安装完毕后,将 `C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe` 复制到 `D:\MyVNote\VNote`,记下 `D:\MyVNote\VNote\wkhtmltopdf.exe`
![wkhtmltopdf.exe 在 D:\MyVNote\VNote 路径下](media/Snipaste_2018-07-17_18-29-38.png)
前述记下的信息:
* D:\MyVNote\VNote\MathJax-2.7.4\MathJax.js?config=TeX-MML-AM_HTMLorMML
* D:\MyVNote\VNote\graphviz-2.38\bin\dot.exe
* D:\MyVNote\VNote\plantuml.1.2018.8.jar
单击 `文件` > `设置`,弹出 `设置` 对话框。
![设置](media/Snipaste_2018-07-17_20-19-16.png)
进行如下设置:
* MathJax 配置:将 `https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_HTMLorMML` 替换为 `D:\MyVNote\VNote\MathJax-2.7.4\MathJax.js?config=TeX-MML-AM_HTMLorMML`
* PlantUML选择本地JAR
* PlantUML JARD:\MyVNote\VNote\plantuml.1.2018.8.jar
* 勾选 Graphviz
* Graphviz可执行文件D:\MyVNote\VNote\graphviz-2.38\bin\dot.exe
![](media/Snipaste_2018-07-17_20-20-14.png)
然后分别点击 `PlantUML JAR``Graphviz可执行文件` 后的 `测试` 按钮,测试成功后再单击 `确定` 按钮退出设置。
![PlantUML JAR 测试成功](media/Snipaste_2018-07-17_20-19-47.png)
![Graphviz可执行文件 测试成功](media/Snipaste_2018-07-17_20-20-00.png)
虽然 VNote 是便携软件,但软件运行后,系统内还是会有一些文件存在:
* C:\Users\\`usr`\AppData\Roaming\vnote即 %AppData%\vnoteusr 指计算机用户名)
* C:\Users\\`usr`\AppData\Local\VNote即 %LocalAppData%\VNote
%AppData%\vnote\vnote.ini 是 VNote 的配置文件,其中保存了与软件有关的相关配置:
![vnote.ini](media/Snipaste_2018-07-18_09-13-33.png)
`vnote.ini` 是一个文本文件,文件末尾就保存有我们刚刚进行的设置信息:
```
[web]
mathjax_javascript="D:\\MyVNote\\VNote\\MathJax-2.7.4\\MathJax.js?config=TeX-MML-AM_HTMLorMML"
plantuml_jar=D:\\MyVNote\\VNote\\plantuml.1.2018.8.jar
graphviz_dot=D:\\MyVNote\\VNote\\graphviz-2.38\\bin\\dot.exe
```
所以刚刚的设置还有一个简单的方法,就是直接修改配置文件 `vnote.ini`,可以单击 `文件` > `打开配置文件夹`,使用文本编辑器(例如 Notepad++)编辑 `vnote.ini`
单击 `Markdown` 菜单进行一些设置,勾选 `Mermaid图表 (M)``Flowchart.js``MathJax` 三项。
![Markdown 菜单](media/Snipaste_2018-07-17_20-25-11.png)
为了使设置生效,需要重启 VNote 软件,最好先保存打开的笔记,保存的快捷键为 `Ctrl+S`
重新启动后,用下面的这些代码来看看图表和公式是否显示正常,正常就说明我们的设置没有问题了。
这是行内Inline公式 $a^2+b^2=c^2$下面是行间Display公式
```mathjax
$$
a^2+b^2=c^2
$$
```
VNote默认的渲染器 `markdown-it` 支持上下标1.19 版时与数学公式有冲突,目前版本已修复):我的<sup>上标</sup>我的<sub>下标</sub>。需要在 `Markdown` > `markdown-it选项` 的次级菜单中勾选 `上标``下标`,对应配置文件 `%AppData%\vnote\vnote.ini` 为:
```
[web]
markdownit_opt=sub, sup
```
这是借助 `Graphviz``dot` 语言绘制的一个图表:
```dot
digraph G {
Vnote -> 下载与安装
Vnote -> 首次启动及配置
Vnote -> 图表公式及配置
图表公式及配置 -> 公式
图表公式及配置 -> 图表
图表公式及配置 -> 表格
下载与安装 -> 结束
首次启动及配置 -> 结束
公式 -> 结束
图表 -> 结束
表格 -> 结束
}
```
下面是借助 PlantUML 绘制的图表:
```puml
VNote -> 公式 : MathJax
```
这是一个来自 VNote 帮助文件(软件菜单操作:`帮助` > `Mardown指南`)的表格:
| col 1 | col 2 | col 3 |
| --- | --- | --- |
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
VNote 也支持 `Flowchart.js``Mermaid` 来绘制图表。
这是一个来自 [VNote GitHub 主页](https://github.com/tamlok/vnote) 的一个例子:
```flow
st=>start: start
e=>end: end
cond=>condition: VNote
st->cond
cond(yes)->e
```
这是一个来自 VNote 帮助文件(软件菜单操作:`帮助` > `Mardown指南`)的一个例子:
```flowchart
st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
```
这是一个来自 [mermaid GitHub 主页](https://github.com/knsv/mermaid) 的一个例子:
```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail...
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
在编辑区域单击鼠标右键,有 `保存更改并阅读``图表实时预览` 功能可供使用。VNote 编辑和阅读的分离是一个很好的设计,使用快捷键 `Ctrl+T``编辑模式``阅读模式` 之间切换,显见的好处是,我再也不用担心阅读 Markdown 文档时因误操作而意外修改文档了。打开 Markdown 文档时是阅读模式还是编辑模式可以在 `设置` 中进行设置。
![鼠标右键菜单](media/Snipaste_2018-07-17_20-31-59.png)
编辑好的笔记有时需要发给别人查看,单击 `文件` > `导出`
![导出](media/Snipaste_2018-07-17_20-32-38.png)
导出的目标格式有很多种可供选择。
![导出 目标格式](media/Snipaste_2018-07-17_20-32-49.png)
目标格式中有 PDF(多合一),此功能需要借助 `wkhtmltopdf` 实现。
![导出 PDF 多合一](media/Snipaste_2018-07-17_20-32-56.png)
指定 `wkhtmltopdf路径``D:\MyVNote\VNote\wkhtmltopdf.exe`
![wkhtmltopdf路径](media/Snipaste_2018-07-17_20-33-06.png)
%AppData%\vnote\vnote.ini 是 VNote 的配置文件:
![vnote.ini](media/Snipaste_2018-07-18_09-13-33.png)
与前边的设置一样,此设置也可以通过直接修改配置文件 `%AppData%\vnote\vnote.ini`进行:
```
[export]
wkhtmltopdf=D:\\MyVNote\\VNote\\wkhtmltopdf.exe
```
## 给理工科同学的三个福利
图片标题:需要进行设置,`Markdown` > `启用图片标题`,这就很符合理工科的胃口了。
标题序列:用过 MS Word 的同学应该知道 `多级列表` 这个东西,标题序列就是类似的功能,开启很简单,编辑模式下,单击工具栏的 `标题序列` 按钮 ![](media/Snipaste_2018-07-18_16-33-42.png) 即可,理工科的同学有福了。
暗黑主题:`文件` > `主题` > `v_detorte` 或者 `v_mooonlight`,软件作者说了:`v_detorte` 适合白天或有灯光时使用,`v_mooonlight` 适合夜里不开灯时使用。
## 升级到 1.20 版
保存笔记,关闭 VNote。如果 `文件` > `设置` > `常规` 下设置勾选了 `系统托盘`,即关闭 VNote 后最小化到系统托盘,则需要从系统托盘图标退出软件。也可以从 `任务管理器` 中关闭。
将 VNote 路径 `D:\MyVNote\VNote` 下除了 `graphviz-2.38``MathJax-2.7.4``plantuml.1.2018.9.jar``wkhtmltopdf.exe` 外的文件全部删除,将新下载 `VNote_win_X64_portable_1.20.zip` 解压到 `D:\MyVNote\VNote` 下,即 `VNote_win_X64_portable_1.20.zip\VNote` 下的文件复制到 `D:\MyVNote\VNote` 下。
用户文件(包括一些与软件相关的配置文件、样式文件、模板文件、主题文件、日志文件等)在 `%AppData%\vnote``%LocalAppData%\VNote` 路径下。用户笔记及配置文件在 `D:\MyVNote\2018` 路径下。
打开 VNote 使用 1.20 版。
## 备份与迁移
相关文件及其路径:
* 软件D:\MyVNote\VNote
* 与软件设置有关的文件:%AppData%\vnote\vnote.ini
* 笔记D:\MyVNote\2018
* 与笔记有关的文件:%AppData%\vnote\session.ini
如果是重装系统D 盘一般不动,而 C 盘文件一般会被清除,则仅需要备份 %AppData%\vnote\vnote.ini 和 %AppData%\vnote\session.ini 两个文件,其中 session.ini 文件中 `[history]``[geometry]` 两部分可以删除掉,其中最关键的是 `[notebooks]` 部分。
如果是迁移到其他计算机,则 D:\MyVNote 复制到目标计算机 D:\%AppData%\vnote\vnote.ini 和 %AppData%\vnote\session.ini 复制到目标计算机 %AppData%\vnote\,如果路径不存在,则自行创建路径。
或者,还有一种方法更为实用,将 vnote.ini 和 session.ini 移动到 D:\MyVNote\VNote 路径下(与 VNote.exe 同路径),则 VNote 便不会再创建 %AppData%\vnote 路径并在这里存放配置文件了,但 %LocalAppData%\VNote 路径依然还在(文件夹下有 cache 和 QtWebEngine 两个文件夹),原先在 %AppData%\vnote 路径下的相关文件snippets存放片段可以备份、styles、templates、themes、session.ini、vnote.ini、vnote.log直接存放于 D:\MyVNote\VNote 路径下,这样软件和笔记更加便携了。
## 升级到 1.21 版
保存笔记,关闭 VNote。如果 `文件` > `设置` > `常规` 下设置勾选了 `系统托盘`,即关闭 VNote 后最小化到系统托盘,则需要从系统托盘图标退出软件。也可以从 `任务管理器` 中关闭。
将 VNote 路径 `D:\MyVNote\VNote` 下除了 `graphviz-2.38``MathJax-2.7.4``snippets``styles``templates``themes``plantuml.1.2018.9.jar``session.ini``vnote.ini``vnote.log``wkhtmltopdf.exe` 外的文件全部删除,将新下载 `VNote_win_X64_portable_1.21.zip` 解压到 `D:\MyVNote\VNote` 下,即 `VNote_win_X64_portable_1.21.zip\VNote` 下的文件复制到 `D:\MyVNote\VNote` 下。
用户文件(包括一些与软件相关的配置文件、样式文件、模板文件、主题文件、日志文件等)在 `%AppData%\vnote``%LocalAppData%\VNote` 路径下。用户笔记及配置文件在 `D:\MyVNote\2018` 路径下。
由于 `%AppData%\vnote` 路径下的文件夹和文件 snippets、styles、templates、themes、session.ini、vnote.ini、vnote.log 已经在上次升级到 1.20 版后移动到 `D:\MyVNote\VNote` 路径下,所以无需理会。
`%LocalAppData%\VNote` 路径下的文件目前还不清楚有什么用途,暂不理会。
`D:\MyVNote\2018` 路径下的文件没有任何修改,也无需理会。
打开 VNote 使用 <mark>1.21 版</mark>`文件` > `设置` > `重置布局` > `确定` > `确定` > 重启 VNote。
## 收尾
本文不是一个让你全面了解 VNote 的系统教程,而是为了扫清你与 VNote 相爱的初步障碍。也许在之后的使用中你还会遇到小困难,或者你想系统学习 VNote那么下面的资料会有帮助
* 软件[官网](https://github.com/tamlok/vnote)及自带帮助
* 英文文档 http://vnote.readthedocs.io/
* 中文文档 http://vnote.readthedocs.io/zh_CN/latest/
* 微信公众号 `VNote笔记`
常到[官网](https://github.com/tamlok/vnote)转转,官网上有打赏软件作者的渠道,也可以提交 Bug、Request 新功能、参与开发、提交反馈等。赶快向亲朋好友推荐使用 VNote做个义务讲解员带他们入门吧
# 爱上 VNote——软件使用流水账
孙建虎 2018-07-17 Rev 2018-08-14
## 从相识到相爱
最初尝鲜 Markdown 并不是因为对 Markdown 有多么深入的了解,仅仅是出于不断尝试新事物的需要。后来,频繁使用 Markdown 编写图文混排教程,感觉很方便,渐渐爱上了 Markdown不能自拔。
最近,自已一直在用的并且也推荐给他人使用的一款 Markdown 编辑器明确为收费软件了,于是,我就为自己进行了一场 Markdown 编辑器的海选,如下图[^1]所示。
[^1]: 文中软件截图使用 [Snipaste](https://zh.snipaste.com/download.html)(与 VNote 一样优秀的国产截图、贴图和标注软件);图片后期处理使用了 [paint.net](https://www.getpaint.net/redirect/main_hm.html);本文编辑使用 VNote。
![Markdown 编辑器海选:边比较边整理,选定 VNote 之后就没再完善此表了,所以有些信息不一定准确。](media/Snipaste_2018-07-17_15-41-56.png)
说来也是缘分,刚看到 VNote 时,扁平化的设计、小清新的风格让我眼前一亮(我是颜控),但第一次启动软件的时候,竟然要我设置路径,心想:至于么,我就是要个 Markdown 编辑器而已,遂转身离开。
![透着小清新的 VNote Logo](media/Logo.png)
几天的海选,不断搜索、下载、试用、比较,始终没有完全合意的。突然又想起了那个高颜值的 VNote从某种程度上说颜值也是生产力啊没有真正试用就放弃了实在心有不甘于是摒弃浮躁的心态静下心来与 VNote 相处,越处越爱,越觉着离不开 VNote 了,每天摸索一下,小惊喜不断。相信你也一定会像我一样认同 VNote 的设计理念爱屋及乌VNote 粉也许会透过 VNote 仰慕软件作者吧。
经历各种折腾,查资料、尝试,基本上与 VNote 初步磨合好了,这也是负责任的我推荐 VNote 给他人使用之前的必做功课,并且,我要写一个小教程,目的就是让他人不至于在开始阶段因为不了解 VNote、误解 VNote 或者受到一点小小挫折就愤然离去,错失与一款杰出的 Markdown 编辑器——VNote 相爱的机会(其实远不仅仅是一款编辑器)。
## 下载并安装 VNote 1.19
**注意**:现在已经是 1.21 版本了,建议下载使用最新版本。后文也有我一步步从 1.19 版升级到 1.20 版,再到 1.21 版的流水账。
我使用 Markdown 有很长一段时间了,所以是有 Markdown 语法基础的(其实语法很简单);理工科出身,有处理图表和公式的需要;使用环境为没有互联网连接的中文 Windows 10 x64 系统。目标读者假定和我类似,其他读者权当参考吧。接下来就随我简单认识下 VNote希望这能让你能与 VNote 相爱得更简单些。
本文以 VNote 导出的 Markdown 文档格式提供,建议在 VNote 编辑模式(或者阅读模式)下阅读。
VNote 是采用 MIT License 的开源软件,官网为 https://github.com/tamlok/vnote ,可以在 https://github.com/tamlok/vnote/releases 下载软件Windows 版的 VNote 软件为便携版Portable1.19 版有 2 个可供下载文件:
* 64 位便携版:`VNote_win_X64_portable_1.19.zip`(本文选择下载此文件)
* 32 位便携版:`VNote_win_x86_portable_1.19.zip`
软件作者 `tamlok` 很贴心,还专为国内用户提供了百度网盘下载链接 http://pan.baidu.com/s/1jI5HROq 。
`D` 盘下新建 `MyVNote` 文件夹,将下载的 `VNote_win_X64_portable_1.19.zip` 文件解压到 `D:\MyVNote` 文件夹下(路径可以自选,不过后文相应路径也要对应修改)。
![D:\MyVNote](media/Snipaste_2018-07-17_17-11-49.png)
![D:\MyVNote\VNote](media/Snipaste_2018-07-17_17-11-58.png)
`D:\MyVNote\VNote\VNote.exe` 就是 VNote 软件的主程序,可以将其固定到任务栏或发送到桌面快捷方式,以方便之后快捷启动 VNote 软件,当然,我们也可以通过双击已有的 `*.md` 文件来打开 VNote 软件。
有 VNote 粉说 VNote 竟然不支持新建外部笔记,其实很简单,外部新建一个文本文档,修改后缀名为 `.md` 即可(虽然有点麻烦),并且 VNote 也可以导出笔记为独立文件。VNote 中称呼 `外部笔记``独立文件`,打开外部笔记时,软件界面右下角的位置有 ![](media/Snipaste_2018-07-18_08-20-31.png) 标记,独立文件不能使用诸如 `标签``附件` 等功能,所以我还是强烈建议使用内部笔记,可以很方便地管理笔记,使用更多的特色功能。
### 文件关联 v1不能使用
设置 `*.md` 文件的默认打开方式为 VNote这对于 Windows 用户来说应该很简单,这里提供一个通过导入注册表的方式进行快捷设置的方法,`注册表文件 v1` 内容如下:
```Registry
Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-1862800926-2367917216-3330859151-500_Classes\Applications\VNote.exe\shell\open\command]
@="\"D:\\MyVNote\\VNote\\VNote.exe\" \"%1\""
```
### 文件关联 v2应该可以
重装系统之后发现,`注册表文件 v1` 不能成功导入,对比后发现,每个系统注册表中那串代码是不同的:
* 系统重装前为1862800926-2367917216-3330859151
* 系统重装后为2534397436-3503867807-444227408
对应修改之后可以成功导入注册表,但依然不能成功进行文件关联。几经折腾捣鼓出了 [注册表文件 v2](file/OpenWithVNote_v2.reg),其内容如下:
```Registry
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]
[HKEY_CLASSES_ROOT\Applications\VNote.exe]
[HKEY_CLASSES_ROOT\Applications\VNote.exe\shell]
[HKEY_CLASSES_ROOT\Applications\VNote.exe\shell\open]
[HKEY_CLASSES_ROOT\Applications\VNote.exe\shell\open\command]
@="\"D:\\MyVNote\\VNote\\VNote.exe\" \"%1\""
```
## 首次启动 VNote
首次启动软件,在弹出的 `添加笔记本` 对话框中进行相关设置,单击 `确定` 按钮。
![添加笔记本](media/Snipaste_2018-07-17_17-27-51.png)
再在 `新建根文件夹` 对话框中进行设置,单击 `确定` 按钮。
![新建根文件夹](media/Snipaste_2018-07-17_17-28-23.png)
进入 VNote 软件界面。
![VNote 主界面](media/Snipaste_2018-07-17_17-29-20.png)
使用快捷键 `Ctrl+Alt+N` 新建笔记,在弹出的 `新建笔记` 对话框进行设置,单击 `确定` 按钮。
![新建笔记](media/Snipaste_2018-07-17_17-29-36.png)
从下图所示软件界面中我们也可以看出 VNote 的文件系统遵循 `笔记本` > `文件夹` > `笔记` 的层次,可以很有逻辑地管理笔记。下图表示 `2018Notes` 笔记本下有个 `July` 文件夹,`July` 文件夹下有个 `初识VNote.md` 笔记。
![新建笔记后的界面](media/Snipaste_2018-07-17_17-29-50.png)
`D:\MyVNote` 文件夹下将自动新建一个 `2018` 文件夹,这个文件夹就用来存放笔记本名为 `2018Notes` 的相关文件,例如 `July` 文件夹。
![D:\MyVNote](media/Snipaste_2018-07-17_17-28-33.png)
`D:\MyVNote\2018` 文件夹下将自动建立 `July` 文件夹,用来存放其下的笔记,例如 `初识VNote.md`
![D:\MyVNote\2018](media/Snipaste_2018-07-17_17-28-40.png)
`D:\MyVNote\2018\July` 文件夹下将在首次插入图片和附件时分别自动建立 `media` 文件夹和 `file` 文件夹,用来存放图片和附件。这个设置契合我之前的使用习惯:为每个 Markdown 文档建立一个同级的 `media` 文件夹,用来存放文档中以相对路径方式插入的图片和链接文件。
![D:\MyVNote\2018\July](media/Snipaste_2018-07-17_19-47-33.png)
## 图表公式及导出的一些设置
对于 Markdown 的基本语法,无需赘述。虽然各种编辑器支持的语法各不相同,但总体说来差异不大。对于 VNote 软件,可以单击 `帮助` > `Markdown指南` 来快速回顾语法,了解 VNote 支持的语法,即使遇到以前没有接触过的语法,通过这个帮助也可以很快学会。
VNote 中的图表公式等一些功能通过调用第三方软件来实现,需要我们进行相关设置。
在 https://github.com/mathjax/MathJax/releases 下载 `MathJax`,将下载的 `MathJax-2.7.4.zip` 解压到 `D:\MyVNote\VNote\`,先记下 `D:\MyVNote\VNote\MathJax-2.7.4\MathJax.js?config=TeX-MML-AM_HTMLorMML`
![MathJax-2.7.4 在D:\MyVNote\VNote 路径下 ](media/Snipaste_2018-07-17_17-53-12.png)
![D:\MyVNote\VNote\MathJax-2.7.4](media/Snipaste_2018-07-17_18-41-25.png)
![D:\MyVNote\VNote\MathJax-2.7.4\config](media/Snipaste_2018-07-17_20-10-21.png)
到 https://graphviz.gitlab.io/_pages/Download/Download_windows.html 下载 `Graphviz`,将下载的 `graphviz-2.38.zip` 解压到 `D:\MyVNote\VNote\`,记下 `D:\MyVNote\VNote\graphviz-2.38\bin\dot.exe`
![graphviz-2.38 在 D:\MyVNote\VNote 路径下](media/Snipaste_2018-07-17_18-24-05.png)
![D:\MyVNote\VNote\graphviz-2.38](media/Snipaste_2018-07-17_18-24-15.png)
![D:\MyVNote\VNote\graphviz-2.38\bin](media/Snipaste_2018-07-18_08-37-04.png)
到 http://plantuml.com/download 下载 `PlantUML`,将下载的 `plantuml.1.2018.8.jar` 复制到 `D:\MyVNote\VNote\`,记下 `D:\MyVNote\VNote\plantuml.1.2018.8.jar`
![plantuml.1.2018.8.jar 在 D:\MyVNote\VNote 路径下](media/Snipaste_2018-07-17_18-28-05.png)
到 https://wkhtmltopdf.org/downloads.html 下载 `wkhtmltopdf`,双击下载的 `wkhtmltox-0.12.5-1.msvc2015-win64.exe` 进行默认安装,安装完毕后,将 `C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe` 复制到 `D:\MyVNote\VNote`,记下 `D:\MyVNote\VNote\wkhtmltopdf.exe`
![wkhtmltopdf.exe 在 D:\MyVNote\VNote 路径下](media/Snipaste_2018-07-17_18-29-38.png)
前述记下的信息:
* D:\MyVNote\VNote\MathJax-2.7.4\MathJax.js?config=TeX-MML-AM_HTMLorMML
* D:\MyVNote\VNote\graphviz-2.38\bin\dot.exe
* D:\MyVNote\VNote\plantuml.1.2018.8.jar
单击 `文件` > `设置`,弹出 `设置` 对话框。
![设置](media/Snipaste_2018-07-17_20-19-16.png)
进行如下设置:
* MathJax 配置:将 `https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_HTMLorMML` 替换为 `D:\MyVNote\VNote\MathJax-2.7.4\MathJax.js?config=TeX-MML-AM_HTMLorMML`
* PlantUML选择本地JAR
* PlantUML JARD:\MyVNote\VNote\plantuml.1.2018.8.jar
* 勾选 Graphviz
* Graphviz可执行文件D:\MyVNote\VNote\graphviz-2.38\bin\dot.exe
![](media/Snipaste_2018-07-17_20-20-14.png)
然后分别点击 `PlantUML JAR``Graphviz可执行文件` 后的 `测试` 按钮,测试成功后再单击 `确定` 按钮退出设置。
![PlantUML JAR 测试成功](media/Snipaste_2018-07-17_20-19-47.png)
![Graphviz可执行文件 测试成功](media/Snipaste_2018-07-17_20-20-00.png)
虽然 VNote 是便携软件,但软件运行后,系统内还是会有一些文件存在:
* C:\Users\\`usr`\AppData\Roaming\vnote即 %AppData%\vnoteusr 指计算机用户名)
* C:\Users\\`usr`\AppData\Local\VNote即 %LocalAppData%\VNote
%AppData%\vnote\vnote.ini 是 VNote 的配置文件,其中保存了与软件有关的相关配置:
![vnote.ini](media/Snipaste_2018-07-18_09-13-33.png)
`vnote.ini` 是一个文本文件,文件末尾就保存有我们刚刚进行的设置信息:
```
[web]
mathjax_javascript="D:\\MyVNote\\VNote\\MathJax-2.7.4\\MathJax.js?config=TeX-MML-AM_HTMLorMML"
plantuml_jar=D:\\MyVNote\\VNote\\plantuml.1.2018.8.jar
graphviz_dot=D:\\MyVNote\\VNote\\graphviz-2.38\\bin\\dot.exe
```
所以刚刚的设置还有一个简单的方法,就是直接修改配置文件 `vnote.ini`,可以单击 `文件` > `打开配置文件夹`,使用文本编辑器(例如 Notepad++)编辑 `vnote.ini`
单击 `Markdown` 菜单进行一些设置,勾选 `Mermaid图表 (M)``Flowchart.js``MathJax` 三项。
![Markdown 菜单](media/Snipaste_2018-07-17_20-25-11.png)
为了使设置生效,需要重启 VNote 软件,最好先保存打开的笔记,保存的快捷键为 `Ctrl+S`
重新启动后,用下面的这些代码来看看图表和公式是否显示正常,正常就说明我们的设置没有问题了。
这是行内Inline公式 $a^2+b^2=c^2$下面是行间Display公式
```mathjax
$$
a^2+b^2=c^2
$$
```
VNote默认的渲染器 `markdown-it` 支持上下标1.19 版时与数学公式有冲突,目前版本已修复):我的<sup>上标</sup>我的<sub>下标</sub>。需要在 `Markdown` > `markdown-it选项` 的次级菜单中勾选 `上标``下标`,对应配置文件 `%AppData%\vnote\vnote.ini` 为:
```
[web]
markdownit_opt=sub, sup
```
这是借助 `Graphviz``dot` 语言绘制的一个图表:
```dot
digraph G {
Vnote -> 下载与安装
Vnote -> 首次启动及配置
Vnote -> 图表公式及配置
图表公式及配置 -> 公式
图表公式及配置 -> 图表
图表公式及配置 -> 表格
下载与安装 -> 结束
首次启动及配置 -> 结束
公式 -> 结束
图表 -> 结束
表格 -> 结束
}
```
下面是借助 PlantUML 绘制的图表:
```puml
VNote -> 公式 : MathJax
```
这是一个来自 VNote 帮助文件(软件菜单操作:`帮助` > `Mardown指南`)的表格:
| col 1 | col 2 | col 3 |
| --- | --- | --- |
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
VNote 也支持 `Flowchart.js``Mermaid` 来绘制图表。
这是一个来自 [VNote GitHub 主页](https://github.com/tamlok/vnote) 的一个例子:
```flow
st=>start: start
e=>end: end
cond=>condition: VNote
st->cond
cond(yes)->e
```
这是一个来自 VNote 帮助文件(软件菜单操作:`帮助` > `Mardown指南`)的一个例子:
```flowchart
st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
```
这是一个来自 [mermaid GitHub 主页](https://github.com/knsv/mermaid) 的一个例子:
```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail...
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
在编辑区域单击鼠标右键,有 `保存更改并阅读``图表实时预览` 功能可供使用。VNote 编辑和阅读的分离是一个很好的设计,使用快捷键 `Ctrl+T``编辑模式``阅读模式` 之间切换,显见的好处是,我再也不用担心阅读 Markdown 文档时因误操作而意外修改文档了。打开 Markdown 文档时是阅读模式还是编辑模式可以在 `设置` 中进行设置。
![鼠标右键菜单](media/Snipaste_2018-07-17_20-31-59.png)
编辑好的笔记有时需要发给别人查看,单击 `文件` > `导出`
![导出](media/Snipaste_2018-07-17_20-32-38.png)
导出的目标格式有很多种可供选择。
![导出 目标格式](media/Snipaste_2018-07-17_20-32-49.png)
目标格式中有 PDF(多合一),此功能需要借助 `wkhtmltopdf` 实现。
![导出 PDF 多合一](media/Snipaste_2018-07-17_20-32-56.png)
指定 `wkhtmltopdf路径``D:\MyVNote\VNote\wkhtmltopdf.exe`
![wkhtmltopdf路径](media/Snipaste_2018-07-17_20-33-06.png)
%AppData%\vnote\vnote.ini 是 VNote 的配置文件:
![vnote.ini](media/Snipaste_2018-07-18_09-13-33.png)
与前边的设置一样,此设置也可以通过直接修改配置文件 `%AppData%\vnote\vnote.ini`进行:
```
[export]
wkhtmltopdf=D:\\MyVNote\\VNote\\wkhtmltopdf.exe
```
## 给理工科同学的三个福利
图片标题:需要进行设置,`Markdown` > `启用图片标题`,这就很符合理工科的胃口了。
标题序列:用过 MS Word 的同学应该知道 `多级列表` 这个东西,标题序列就是类似的功能,开启很简单,编辑模式下,单击工具栏的 `标题序列` 按钮 ![](media/Snipaste_2018-07-18_16-33-42.png) 即可,理工科的同学有福了。
暗黑主题:`文件` > `主题` > `v_detorte` 或者 `v_mooonlight`,软件作者说了:`v_detorte` 适合白天或有灯光时使用,`v_mooonlight` 适合夜里不开灯时使用。
## 升级到 1.20 版
保存笔记,关闭 VNote。如果 `文件` > `设置` > `常规` 下设置勾选了 `系统托盘`,即关闭 VNote 后最小化到系统托盘,则需要从系统托盘图标退出软件。也可以从 `任务管理器` 中关闭。
将 VNote 路径 `D:\MyVNote\VNote` 下除了 `graphviz-2.38``MathJax-2.7.4``plantuml.1.2018.9.jar``wkhtmltopdf.exe` 外的文件全部删除,将新下载 `VNote_win_X64_portable_1.20.zip` 解压到 `D:\MyVNote\VNote` 下,即 `VNote_win_X64_portable_1.20.zip\VNote` 下的文件复制到 `D:\MyVNote\VNote` 下。
用户文件(包括一些与软件相关的配置文件、样式文件、模板文件、主题文件、日志文件等)在 `%AppData%\vnote``%LocalAppData%\VNote` 路径下。用户笔记及配置文件在 `D:\MyVNote\2018` 路径下。
打开 VNote 使用 1.20 版。
## 备份与迁移
相关文件及其路径:
* 软件D:\MyVNote\VNote
* 与软件设置有关的文件:%AppData%\vnote\vnote.ini
* 笔记D:\MyVNote\2018
* 与笔记有关的文件:%AppData%\vnote\session.ini
如果是重装系统D 盘一般不动,而 C 盘文件一般会被清除,则仅需要备份 %AppData%\vnote\vnote.ini 和 %AppData%\vnote\session.ini 两个文件,其中 session.ini 文件中 `[history]``[geometry]` 两部分可以删除掉,其中最关键的是 `[notebooks]` 部分。
如果是迁移到其他计算机,则 D:\MyVNote 复制到目标计算机 D:\%AppData%\vnote\vnote.ini 和 %AppData%\vnote\session.ini 复制到目标计算机 %AppData%\vnote\,如果路径不存在,则自行创建路径。
或者,还有一种方法更为实用,将 vnote.ini 和 session.ini 移动到 D:\MyVNote\VNote 路径下(与 VNote.exe 同路径),则 VNote 便不会再创建 %AppData%\vnote 路径并在这里存放配置文件了,但 %LocalAppData%\VNote 路径依然还在(文件夹下有 cache 和 QtWebEngine 两个文件夹),原先在 %AppData%\vnote 路径下的相关文件snippets存放片段可以备份、styles、templates、themes、session.ini、vnote.ini、vnote.log直接存放于 D:\MyVNote\VNote 路径下,这样软件和笔记更加便携了。
## 升级到 1.21 版
保存笔记,关闭 VNote。如果 `文件` > `设置` > `常规` 下设置勾选了 `系统托盘`,即关闭 VNote 后最小化到系统托盘,则需要从系统托盘图标退出软件。也可以从 `任务管理器` 中关闭。
将 VNote 路径 `D:\MyVNote\VNote` 下除了 `graphviz-2.38``MathJax-2.7.4``snippets``styles``templates``themes``plantuml.1.2018.9.jar``session.ini``vnote.ini``vnote.log``wkhtmltopdf.exe` 外的文件全部删除,将新下载 `VNote_win_X64_portable_1.21.zip` 解压到 `D:\MyVNote\VNote` 下,即 `VNote_win_X64_portable_1.21.zip\VNote` 下的文件复制到 `D:\MyVNote\VNote` 下。
用户文件(包括一些与软件相关的配置文件、样式文件、模板文件、主题文件、日志文件等)在 `%AppData%\vnote``%LocalAppData%\VNote` 路径下。用户笔记及配置文件在 `D:\MyVNote\2018` 路径下。
由于 `%AppData%\vnote` 路径下的文件夹和文件 snippets、styles、templates、themes、session.ini、vnote.ini、vnote.log 已经在上次升级到 1.20 版后移动到 `D:\MyVNote\VNote` 路径下,所以无需理会。
`%LocalAppData%\VNote` 路径下的文件目前还不清楚有什么用途,暂不理会。
`D:\MyVNote\2018` 路径下的文件没有任何修改,也无需理会。
打开 VNote 使用 <mark>1.21 版</mark>`文件` > `设置` > `重置布局` > `确定` > `确定` > 重启 VNote。
## 收尾
本文不是一个让你全面了解 VNote 的系统教程,而是为了扫清你与 VNote 相爱的初步障碍。也许在之后的使用中你还会遇到小困难,或者你想系统学习 VNote那么下面的资料会有帮助
* 软件[官网](https://github.com/tamlok/vnote)及自带帮助
* 英文文档 http://vnote.readthedocs.io/
* 中文文档 http://vnote.readthedocs.io/zh_CN/latest/
* 微信公众号 `VNote笔记`
常到[官网](https://github.com/tamlok/vnote)转转,官网上有打赏软件作者的渠道,也可以提交 Bug、Request 新功能、参与开发、提交反馈等。赶快向亲朋好友推荐使用 VNote做个义务讲解员带他们入门吧
最后,向 VNote 作者 `tamlok` 致敬!

View File

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 429 KiB

After

Width:  |  Height:  |  Size: 429 KiB

View File

@ -1,14 +0,0 @@
{
"created_time": "2018-11-24T09:29:50Z",
"files": [
],
"sub_directories": [
{
"name": "官方"
},
{
"name": "用户"
}
],
"version": "1"
}

View File

@ -1,76 +1,76 @@
# 法律
* [中华人民共和国建筑法 2011/7/1](中华人民共和国建筑法.txt)
* [中华人民共和国城乡规划法 2008/1/1](中华人民共和国城乡规划法.txt)
废止《中华人民共和国城市规划法》
* [中华人民共和国合同法 1999/10/1](中华人民共和国合同法.txt)
废止《中华人民共和国经济合同法》
《中华人民共和国涉外经济合同法》
《中华人民共和国技术合同法》
* [中华人民共和国招标投标法 2000/1/1](中华人民共和国招标投标法.txt)
* [中华人民共和国招标投标法实施条例 2012/2/1](中华人民共和国招标投标法实施条例.txt)
* [建设工程质量管理条例 2012/10/7](建设工程质量管理条例.txt)
* [建设工程安全生产管理条例 2004/2/1](建设工程安全生产管理条例.txt)
<mark>[](建设工程安全生产管理条例.mht)</mark>
* [生产安全事故报告和调查处理条例 2007/6/1](生产安全事故报告和调查处理条例.txt)
<mark>[](生产安全事故报告和调查处理条例.mht)</mark>
废止《特别重大事故调查程序暂行规定》
[《企业职工伤亡事故报告和处理规定》]([废止]企业职工伤亡事故报告和处理规定.doc)
* [中华人民共和国安全生产法 2002/11/1](中华人民共和国安全生产法.txt)
* [中华人民共和国防震减灾法 2009/5/1](中华人民共和国防震减灾法.txt)
<mark>[](中华人民共和国防震减灾法.mht)</mark>
* [国有土地上房屋征收与补偿条例 2011/1/21](国有土地上房屋征收与补偿条例.txt)
<mark>[](国有土地上房屋征收与补偿条例.mht)</mark>
废止《城市房屋拆迁管理条例》
* [中华人民共和国标准化法 2018/1/1](中华人民共和国标准化法.txt)
* [中华人民共和国标准化法实施条例 1990/4/6](中华人民共和国标准化法实施条例.txt)
* [国家标准管理办法 1990/8/24](国家标准管理办法.txt)
* [工程建设国家标准管理办法 1992/12/30](工程建设国家标准管理办法.txt)
* [中华人民共和国注册会计师法 2014/8/31](中华人民共和国注册会计师法.mht)
* [注册建造师管理规定 2007/3/1](注册建造师管理规定.mht)
# 文件
* [国办发201719号 国务院办公厅关于促进建筑业持续健康发展的意见 2017/2/21](国办发201719号\国务院办公厅关于促进建筑业持续健康发展的意见_政府信息公开专栏.mht)
* [国发20035号 国务院关于取消第二批行政审批项目和改变一批行政审批项目管理方式的决定 2003/2/27](国发20035号\国务院关于取消第二批行政审批项目和改变一批行政审批项目管理方式的决定.mht)
* [国发201635号 国务院关于取消一批职业资格许可和认定事项的决定 2016/6/13](国务院关于取消一批职业资格许可和认定事项的决定国发201635号_政府信息公开专栏.mht)
* [建市设函201762号 关于征求在民用建筑工程中推进建筑师负责制指导意见(征求意见稿)意见的函 2017/12/11](建市设函201762号\关于征求在民用建筑工程中推进建筑师负责制指导意见(征求意见稿)意见的函.html)
<mark>[附件](建市设函201762号\W020171213043315.doc)</mark>
* [人社部发201768号 人力资源社会保障部关于公布国家职业资格目录的通知 2017/9/12](人社部发201768号\人力资源社会保障部关于公布国家职业资格目录的通知.mht)
<mark>[附件1](人社部发201768号\一、专业技术人员职业资格.xls)</mark>
<mark>[附件2](人社部发201768号\二、技能人员职业资格.xls)</mark>
* [人社厅发201842号 人力资源社会保障部办公厅关于进一步做好技能人员职业资格证书发放管理有关工作的通知 2018/5/3](人社厅发201842号\人力资源社会保障部办公厅关于进一步做好技能人员职业资格证书发放管理有关工作的通知.mht)
* [人社厅函2018138号 人力资源社会保障部办公厅关于印发2018年度国家职业技能标准制定修订计划的通知 2018/6/7](人社厅函2018138号\人力资源社会保障部办公厅关于印发2018年度国家职业技能标准制定修订计划的通知.mht)
<mark>[附件](人社厅函2018138号\P020180614299863971589.docx)</mark>
* [建市设函201765号 关于征求房屋建筑和市政基础设施项目工程总承包管理办法(征求意见稿)意见的函 2017/12/26](建市设函201765号\关于征求房屋建筑和市政基础设施项目工程总承包管理办法(征求意见稿)意见的函.mht)
<mark>[附件](建市设函201765号\W020171228032027.docx)</mark>
* [2016年5号 国家标准委关于发布《国家标准外文版管理办法》的公告](2016年5号\国家标准委关于发布《国家标准外文版管理办法》的公告.mht)
<mark>[附件](2016年5号\20160905085749045.pdf)</mark>
* [质技监局标发1998181号 国家标准化指导性技术文件管理规定](质技监局标发1998181号\国家标准化指导性技术文件管理规定.mht)
* [人发2002111号 于印发《建造师执业资格制度暂行规定》的通知](人发2002111号\于印发《建造师执业资格制度暂行规定》的通知.mht)
# 法律
* [中华人民共和国建筑法 2011/7/1](中华人民共和国建筑法.txt)
* [中华人民共和国城乡规划法 2008/1/1](中华人民共和国城乡规划法.txt)
废止《中华人民共和国城市规划法》
* [中华人民共和国合同法 1999/10/1](中华人民共和国合同法.txt)
废止《中华人民共和国经济合同法》
《中华人民共和国涉外经济合同法》
《中华人民共和国技术合同法》
* [中华人民共和国招标投标法 2000/1/1](中华人民共和国招标投标法.txt)
* [中华人民共和国招标投标法实施条例 2012/2/1](中华人民共和国招标投标法实施条例.txt)
* [建设工程质量管理条例 2012/10/7](建设工程质量管理条例.txt)
* [建设工程安全生产管理条例 2004/2/1](建设工程安全生产管理条例.txt)
<mark>[](建设工程安全生产管理条例.mht)</mark>
* [生产安全事故报告和调查处理条例 2007/6/1](生产安全事故报告和调查处理条例.txt)
<mark>[](生产安全事故报告和调查处理条例.mht)</mark>
废止《特别重大事故调查程序暂行规定》
[《企业职工伤亡事故报告和处理规定》]([废止]企业职工伤亡事故报告和处理规定.doc)
* [中华人民共和国安全生产法 2002/11/1](中华人民共和国安全生产法.txt)
* [中华人民共和国防震减灾法 2009/5/1](中华人民共和国防震减灾法.txt)
<mark>[](中华人民共和国防震减灾法.mht)</mark>
* [国有土地上房屋征收与补偿条例 2011/1/21](国有土地上房屋征收与补偿条例.txt)
<mark>[](国有土地上房屋征收与补偿条例.mht)</mark>
废止《城市房屋拆迁管理条例》
* [中华人民共和国标准化法 2018/1/1](中华人民共和国标准化法.txt)
* [中华人民共和国标准化法实施条例 1990/4/6](中华人民共和国标准化法实施条例.txt)
* [国家标准管理办法 1990/8/24](国家标准管理办法.txt)
* [工程建设国家标准管理办法 1992/12/30](工程建设国家标准管理办法.txt)
* [中华人民共和国注册会计师法 2014/8/31](中华人民共和国注册会计师法.mht)
* [注册建造师管理规定 2007/3/1](注册建造师管理规定.mht)
# 文件
* [国办发201719号 国务院办公厅关于促进建筑业持续健康发展的意见 2017/2/21](国办发201719号\国务院办公厅关于促进建筑业持续健康发展的意见_政府信息公开专栏.mht)
* [国发20035号 国务院关于取消第二批行政审批项目和改变一批行政审批项目管理方式的决定 2003/2/27](国发20035号\国务院关于取消第二批行政审批项目和改变一批行政审批项目管理方式的决定.mht)
* [国发201635号 国务院关于取消一批职业资格许可和认定事项的决定 2016/6/13](国务院关于取消一批职业资格许可和认定事项的决定国发201635号_政府信息公开专栏.mht)
* [建市设函201762号 关于征求在民用建筑工程中推进建筑师负责制指导意见(征求意见稿)意见的函 2017/12/11](建市设函201762号\关于征求在民用建筑工程中推进建筑师负责制指导意见(征求意见稿)意见的函.html)
<mark>[附件](建市设函201762号\W020171213043315.doc)</mark>
* [人社部发201768号 人力资源社会保障部关于公布国家职业资格目录的通知 2017/9/12](人社部发201768号\人力资源社会保障部关于公布国家职业资格目录的通知.mht)
<mark>[附件1](人社部发201768号\一、专业技术人员职业资格.xls)</mark>
<mark>[附件2](人社部发201768号\二、技能人员职业资格.xls)</mark>
* [人社厅发201842号 人力资源社会保障部办公厅关于进一步做好技能人员职业资格证书发放管理有关工作的通知 2018/5/3](人社厅发201842号\人力资源社会保障部办公厅关于进一步做好技能人员职业资格证书发放管理有关工作的通知.mht)
* [人社厅函2018138号 人力资源社会保障部办公厅关于印发2018年度国家职业技能标准制定修订计划的通知 2018/6/7](人社厅函2018138号\人力资源社会保障部办公厅关于印发2018年度国家职业技能标准制定修订计划的通知.mht)
<mark>[附件](人社厅函2018138号\P020180614299863971589.docx)</mark>
* [建市设函201765号 关于征求房屋建筑和市政基础设施项目工程总承包管理办法(征求意见稿)意见的函 2017/12/26](建市设函201765号\关于征求房屋建筑和市政基础设施项目工程总承包管理办法(征求意见稿)意见的函.mht)
<mark>[附件](建市设函201765号\W020171228032027.docx)</mark>
* [2016年5号 国家标准委关于发布《国家标准外文版管理办法》的公告](2016年5号\国家标准委关于发布《国家标准外文版管理办法》的公告.mht)
<mark>[附件](2016年5号\20160905085749045.pdf)</mark>
* [质技监局标发1998181号 国家标准化指导性技术文件管理规定](质技监局标发1998181号\国家标准化指导性技术文件管理规定.mht)
* [人发2002111号 于印发《建造师执业资格制度暂行规定》的通知](人发2002111号\于印发《建造师执业资格制度暂行规定》的通知.mht)

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 568 B

After

Width:  |  Height:  |  Size: 568 B

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 406 B

View File

Before

Width:  |  Height:  |  Size: 184 B

After

Width:  |  Height:  |  Size: 184 B

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Some files were not shown because too many files have changed in this diff Show More