Skip to content

Commit

Permalink
[24_13] Pandoc-binary doc (XmacsLabs#1972)
Browse files Browse the repository at this point in the history
<!-- Thank you for your contribution! -->
## What
Add Pandoc binary document and move pandoc.scm to right place.
## Why

## How to test your changes?
  • Loading branch information
ATQlove authored Jul 31, 2024
1 parent e6fdfaf commit df50a70
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MODULE : pandoc-binary.scm
;; MODULE : pandoc.scm
;; DESCRIPTION : Pandoc Binary plugin
;; COPYRIGHT : (C) 2024 ATQlove
;;
Expand Down
28 changes: 28 additions & 0 deletions docs/guide/plugin_binary_pandoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Pandoc Binary Plugin
+ Executable filename: `pandoc`
+ Plugin source code:
- [Codeberg](https://codeberg.org/XmacsLabs/mogan/src/branch/branch-1.2/TeXmacs/plugins/binary/progs/binary/pandoc.scm)
- [Gitee](https://gitee.com/XmacsLabs/mogan/blob/branch-1.2/TeXmacs/plugins/binary/progs/binary/pandoc.scm)
- [Github](https://github.com/XmacsLabs/mogan/blob/branch-1.2/TeXmacs/plugins/binary/progs/binary/pandoc.scm)
- What: Supports the `Document Conversion -> Export to Multiple Formats` feature
- Mogan: `>= v1.2.8`

## How to Install Pandoc
### Windows
Install using `Chocolatey`:
```
choco install pandoc
```
Install using `winget`:
```
winget install --source winget --exact --id JohnMacFarlane.Pandoc
```

### macOS
Install using `brew install pandoc`.

### Linux
On Debian bookworm, use the following command to install:
```
sudo apt install pandoc
```
28 changes: 28 additions & 0 deletions docs/zh/guide/plugin_binary_pandoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Pandoc 二进制插件
+ 可执行文件名:pandoc
+ 插件源代码:
- [Codeberg](https://codeberg.org/XmacsLabs/mogan/src/branch/branch-1.2/TeXmacs/plugins/binary/progs/binary/pandoc.scm)
- [Gitee](https://gitee.com/XmacsLabs/mogan/blob/branch-1.2/TeXmacs/plugins/binary/progs/binary/pandoc.scm)
- [Github](https://github.com/XmacsLabs/mogan/blob/branch-1.2/TeXmacs/plugins/binary/progs/binary/pandoc.scm)
- 功能:支持`文档转换->导出到多种格式`
+ 墨干:`>= v1.2.8`

## 如何安装 Pandoc
### Windows
使用`Chocolatey`安装:
```
choco install pandoc
```
使用`winget`安装:
```
winget install --source winget --exact --id JohnMacFarlane.Pandoc
```

### macOS
使用`brew install pandoc`安装。

### Linux
在Debian bookworm中,使用如下命令安装:
```
sudo apt install pandoc
```

0 comments on commit df50a70

Please sign in to comment.