当前位置:网站首页>Pandoc安装、使用、快速上手
Pandoc安装、使用、快速上手
2022-07-20 15:26:00 【旅途中的宽~】
Pandoc 可以将下列格式文档进行相互转换。 Markdown、Microsoft Word、OpenOffice/LibreOffice、Jupyter notebook、HTML、EPUB、roff man、LaTeX、甚至是PDF。当然 Pandoc 还包括很多类型文档的转换,这里就不一一例举了,可以参考官网!
https://www.pandoc.org/index.html
安装
windows
可以从github上找到相关的安装包,可能有些小伙伴无法登录github,这里我分享出来安装包:
链接:https://pan.baidu.com/s/1t6xfjZqQqDdO0uZ72ENQjw
提取码:6666
- 安装软件
1)首先打开下载好的安装包 pandoc-2.18-windows-x86_64.msi
2)不用更改设置,傻瓜式操作,下一步下一步完成
3)软件安装成功
- 测试是否安装成功
1)打开CMD命令提示符,输入pandoc
–version命令会显示出pandoc的版本信息,则说明安装成功了
使用
markdown 转 html
pandoc test1.md -f markdown -t html -s -o test1.html
介绍一下参数-s 选项表示创建一个“独立”文件,其中包含页眉和页脚,而不仅仅是片段-o test1.html 将输出放入文件中 test1.html-f markdown 和-t html 表示,from markdown 格式 to html 格式,Pandoc 模式就是从 markdown 转成 html。
markdown 转 LaTeX
pandoc test1.md -f markdown -t latex -s -o test1.tex
markdown 转 pdf
pandoc test1.md -s -o test1.pdf
LaTeX 转 markdown
pandoc test1.tex -o test1.md
边栏推荐
- Another lightweight vit:lite vision transformer with enhanced self attention
- 2022新版的第三方宝塔面板 btcloud PHP源码
- [论文速度] 同时解决成像时,曝光不足和曝光过度问题:Deep Reciprocating HDR Transformation
- @Function and principle of restcontrolleradvice
- 密集预测任务的多任务学习(Multi-Task Learning)研究综述 - 优化方法篇
- ModuleNotFoundError_ No_ module_ Popular explanations and methods of named
- Mysql主从复制,读写分离
- @Detailed explanation of modelattribute application
- Quick reading of the paper: axial deeplab: stand alone axial attention for panoramic segmentation
- JS traversal string
猜你喜欢
LeetCode 1260.二维网格迁移:两种方法解决(k次模拟/一步到位)
内网映射端口到外网
实现一个《头像循环轮播控件》
Chongqing Jiaotong University 2021 programming method and online practice examination question solution
根据两个向量计算它们之间的旋转矩阵
@ModelAttribute运用详解
【求助】基于Ascend910的MindSpore训练无法复现GPU上的模型效果
MATLAB 生成随机数 方法总汇 (各分布配图参考)
When business goes out to sea, you should "get your hands dirty" before inspiration appears
ON-LSTM介绍
随机推荐
Another lightweight vit:lite vision transformer with enhanced self attention
[argoverse] argoverse API installation
@Detailed explanation of modelattribute application
2022河南萌新联赛第(二)场:河南理工大学 I - 22数
一篇文章快速复习flex属性与用法
ModuleNotFoundError_ No_ module_ Popular explanations and methods of named
On-lstm introduction
muduo网络库编程
R语言使用isna函数查看列表和dataframe中是否包含缺失值、将dataframe中数据列中的异常值标注为缺失值NA、使用na.omit函数删除dataframe中包含缺失值NA的数据行
CSDN Meetup 回顾 丨从数据湖到指标中台,提升数据分析 ROI
Four simple operations to realize CPU lightweight network ---- PP lcnet: a lightweight CPU revolutionary neural network
Acmix: on the integration of self attention and Revolution
log4j配置文件
根据两个向量计算它们之间的旋转矩阵
Machine learning by Li Hongyi 4 Deep learning
Semantic segmentation-rethinking bisenet for real time semantic segmentation-2-miou calculation
Sword finger offer 20 String representing numeric value
Kalman filter meets deep learning: papers related to Kalman filter and deep learning
移动端 触摸事件
实现一个《头像循环轮播控件》