Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义Word模板的方法 #16

Closed
sky5454 opened this issue Jun 24, 2021 · 1 comment
Closed

自定义Word模板的方法 #16

sky5454 opened this issue Jun 24, 2021 · 1 comment

Comments

@sky5454
Copy link

sky5454 commented Jun 24, 2021

https://chuhong.life/007-markdown-to-docx-pdf/#%E4%B8%80%E8%88%AC%E6%A0%B7%E5%BC%8F%E7%9A%84%E8%BD%AC%E6%8D%A2

可以修改模板为你需要的样式,包括但不限于加页眉等

然后在 Typora 里设置pandoc的额外参数为 --reference-doc=模板路径.docx即可。
路径支持相对路径(相对于当前要导出的md文件)

我现在用它来交作业,非常fine,真的fine

@Keldos-Li
Copy link
Owner

是的我知道这个方法。但我觉得Word里面调整样式麻烦就没做过——既然最终成品要word(latex)那为什么不直接用Word(latex)上手呢🥲🥲,所以要求word的作业我就直接用wordtex。。。

不过看需求之后再看看要不要做一下word模板吧……你有好用的模板也可以挂到自己的github上或者推到这个仓库都可以。

@Keldos-Li Keldos-Li changed the title 自定义模板的方法 自定义Word模板的方法 Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants