• 欢迎访问佰阅部落
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Pandoc_Clipboard: 一个简单的在线Pandoc GUI工具,支持多种格式互相转换

实用工具 佰阅 4年前 (2019-12-22) 4830次浏览 0个评论

你是否熟悉曾经在文件转换领域风靡一时的格式工厂?是否也曾想过代码领域的这种万能工具呢?只不过到目前为止,我们还没有遇上比较完美的代码互转工具。而这里将要介绍的这款工具,实时在线转换多种文本、代码到另一种格式。

[/v_notice]

项目地址:https://github.com/qx-juilliard/pandoc_clipboard

0.简介

Pandoc_Clipboard是一个几乎万能的文本格式转换工具,基于angularnode 技术,我们熟悉的typora工具配合pandoc插件可以将写好的文本转换成其他格式的文本。对于熟悉Markdown的人而言,可以借助该工具,快速转换成其他格式,比如html、beamer等等无数类型。

1.效果截图

Pandoc_Clipboard: 一个简单的在线Pandoc GUI工具,支持多种格式互相转换

动态效果如下:

Pandoc_Clipboard: 一个简单的在线Pandoc GUI工具,支持多种格式互相转换

2.Docker部署教程

STEP1:安装docker环境(该脚本适用于Ubuntu]、Centos、Debian、树莓派等系统)

 echo y | bash <(curl -L -s https://raw.githubusercontent.com/Baiyuetribe/codes/master/docker.sh)

STEP2:部署程序

docker run -d -p 3000:8080 --name pandoc_clip qx2126/pandoc_clipboard

3.其他操作

卸载命令:docker rm -f pandoc_clip

4.支持格式列表:

tikiwiki
twiki
vimwiki
$ pandoc --list-output-formats
asciidoc
asciidoctor
beamer
commonmark
context
docbook
docbook4
docbook5
docx
dokuwiki
dzslides
epub
epub2
epub3
fb2
gfm
haddock
html
html4
html5
icml
ipynb
jats
jira
json
latex
man
markdown
markdown_github
markdown_mmd
markdown_phpextra
markdown_strict
mediawiki
ms
muse
native
odt
opendocument
opml
org
plain
pptx
revealjs
rst
rtf
s5
slideous
slidy
tei
texinfo
textile
xwiki
zimwiki
$ pandoc --list-extensions
-abbreviations
+all_symbols_escapable
-amuse
-angle_brackets_escapable
-ascii_identifiers
+auto_identifiers
-autolink_bare_uris
+backtick_code_blocks
+blank_before_blockquote
+blank_before_header
+bracketed_spans
+citations
-compact_definition_lists
+definition_lists
-east_asian_line_breaks
-emoji
-empty_paragraphs
-epub_html_exts
+escaped_line_breaks
+example_lists
+fancy_lists
+fenced_code_attributes
+fenced_code_blocks
+fenced_divs
+footnotes
-four_space_rule
-gfm_auto_identifiers
+grid_tables
-hard_line_breaks
+header_attributes
-ignore_line_breaks
+implicit_figures
+implicit_header_references
+inline_code_attributes
+inline_notes
+intraword_underscores
+latex_macros
+line_blocks
+link_attributes
-lists_without_preceding_blankline
-literate_haskell
-markdown_attribute
+markdown_in_html_blocks
-mmd_header_identifiers
-mmd_link_attributes
-mmd_title_block
+multiline_tables
+native_divs
+native_spans
-ntb
-old_dashes
+pandoc_title_block
+pipe_tables
+raw_attribute
+raw_html
+raw_tex
+shortcut_reference_links
+simple_tables
+smart
+space_in_atx_header
-spaced_reference_links
+startnum
+strikeout
+subscript
+superscript
-styles
+task_lists
+table_captions
+tex_math_dollars
-tex_math_double_backslash
-tex_math_single_backslash
+yaml_metadata_block

5.其他部署方法

使用nodejs技术:

git clone https://github.com/qx-juilliard/pandoc_clipboard.git && cd pandoc_clipboard
#前端构建
cd frontend
npm install && npm run build
#后端构建
cd backend
npm install

使用Docker构建:

git clone https://github.com/qx-juilliard/pandoc_clipboard.git && cd pandoc_clipboard
docker build -t qx2126/pandoc_clipboard .
docker run -d -p 3000:8080 --name pandoc_clip qx2126/pandoc_clipboard

6.点评

此类工具确实少有,适合临时转换文本格式的人使用。比如你非常熟悉markdown,但是不熟悉html或其他格式,可以考虑用这个工具在线转换。总的来说是值得收藏的一款小工具。


佰阅部落 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Pandoc_Clipboard: 一个简单的在线Pandoc GUI工具,支持多种格式互相转换
喜欢 (1)

您必须 登录 才能发表评论!