mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
refine doc about export via pandoc
This commit is contained in:
parent
e10b52d111
commit
c17ced1587
@ -87,10 +87,16 @@ Advanced settings:
|
||||
- `%3`: the input file directories;
|
||||
- `%4`: the rendering code block CSS style file to be used;
|
||||
|
||||
An example to use [pandoc](http://pandoc.org) to export notes:
|
||||
An example to use [Pandoc](http://pandoc.org) to export notes:
|
||||
|
||||
```sh
|
||||
pandoc --resource-path=.:"%3" --css="%2" --css="%4" -s -o "%1" "%0"
|
||||
```
|
||||
|
||||
Then if the output suffix is `pdf`, it will generate the PDF file; if it is `docx`, it will generate the DOCX file.
|
||||
::: alert-info
|
||||
|
||||
On Windows, you need to change the separator from `:` to `;` according to Pandoc.
|
||||
|
||||
:::
|
||||
|
||||
If the output suffix is `pdf`, it will generate the PDF file; if it is `docx`, it will generate the DOCX file; and if it is `pptx`, it will generate the PPTX file.
|
@ -86,7 +86,7 @@
|
||||
"attachments": [
|
||||
],
|
||||
"created_time": "2018-11-24T12:19:30Z",
|
||||
"modified_time": "2018-11-24T12:19:40Z",
|
||||
"modified_time": "2019-12-16T23:55:02Z",
|
||||
"name": "Export.md",
|
||||
"tags": [
|
||||
]
|
||||
|
@ -86,7 +86,7 @@
|
||||
"attachments": [
|
||||
],
|
||||
"created_time": "2018-11-24T12:30:14Z",
|
||||
"modified_time": "2018-11-24T12:35:05Z",
|
||||
"modified_time": "2019-12-16T23:57:13Z",
|
||||
"name": "导出.md",
|
||||
"tags": [
|
||||
]
|
||||
|
@ -93,4 +93,10 @@ VNote支持将笔记导出为PDF文件。页面大小和边距是可配置的。
|
||||
pandoc --resource-path=.:"%3" --css="%2" --css="%4" -s -o "%1" "%0"
|
||||
```
|
||||
|
||||
如果之后输出的后缀是`pdf`,它将生成PDF文件;如果是`docx`,它将生成DOCX文件。
|
||||
::: alert-info
|
||||
|
||||
根据Pandoc语法,Windows上,需要将分隔符`:`改为`;`。
|
||||
|
||||
:::
|
||||
|
||||
如果输出的后缀是`pdf`,它将生成PDF文件;如果是`docx`,它将生成DOCX文件;如果是`pptx`,它将生成PPTX文件。
|
Loading…
x
Reference in New Issue
Block a user