wps表格如何转换成html格式

wps表格如何转换成html格式,第1张

点击程序左上角的“WPS表格“-”另存为“-”其他格式“,在d出的对话框中的”保存类型“选择为”网页文件(*.htm;*.html)“,然后输入文件名,点击”保存“按钮即可

希望能帮到你,请采纳。如有疑问,请点击我的头像提问。祝您生活愉快

markdown虽然写起来方便, 但是要预览的话还要用ReText打开, 而且ReText好像是Qt程序, 打开文件时不如别的编辑器那么流畅. 所以想找一个可以把markdown文件变成html格式的工具.

我甚至搜了很久"markdown2html"(github上居然可以搜到好几个项目...) 而没有注意到, 在终端输入"html2markdown"时显示的警告:

$ html2markdown

程序“html2markdown”尚未安装。 您可以使用以下命令安装:

sudo apt-get install pandoc

后来安装了pandoc(sudo apt-get install pandoc), 其实只要看看帮助就知道咋用了:

$ pandoc -h

pandoc [OPTIONS] [FILES]

Input formats: native, markdown, markdown+lhs, rst, rst+lhs, html, latex, latex+lhs

Output formats: native, html, html+lhs, s5, docbook, opendocument, odt, latex, latex+lhs, context, texinfo, man, markdown, markdown+lhs, plain, rst, rst+lhs, mediawiki, rtf

Options:

-f FORMAT, -r FORMAT --from=FORMAT, --read=FORMAT

-t FORMAT, -w FORMAT --to=FORMAT, --write=FORMAT

-s--standalone

-o FILENAME --output=FILENAME

-p--preserve-tabs

--tab-stop=TABSTOP

--strict

--reference-links

-R--parse-raw

-S--smart

-m[URL] --latexmathml[=URL], --asciimathml[=URL]

--mathml[=URL]

--mimetex[=URL]

--jsmath[=URL]

--gladtex

-i--incremental

--xetex

-N--number-sections

--no-wrap

--sanitize-html

--email-obfuscation=none|javascript|references

--id-prefix=STRING

--indented-code-classes=STRING

--toc, --table-of-contents

--base-header-level=LEVEL

--template=FILENAME

-V FILENAME --variable=FILENAME

-c URL--css=URL

-H FILENAME --include-in-header=FILENAME

-B FILENAME --include-before-body=FILENAME

-A FILENAME --include-after-body=FILENAME

-C FILENAME --custom-header=FILENAME

-T STRING --title-prefix=STRING

--reference-odt=FILENAME

-D FORMAT --print-default-template=FORMAT

--data-dir=DIRECTORY

--dump-args

--ignore-args

-v--version

-h--help

真是more than I've expected! markdown/rst/html/latex之间可以互转!

使用pandoc命令就可以在随便转换了, 示例, 把demo.md输出成demo.html:

$pandoc -f markdown -t html -o demo.html demo.md

或者直接:

$pandoc -f markdown -t html -o demo.html demo.md

我觉得这个实在是很有用的一条命令~


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/7250867.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-03
下一篇 2023-04-03

发表评论

登录后才能评论

评论列表(0条)

保存