编辑: 不知何故,Libre Office 在“选择性粘贴”菜单中缺少 HTML 代码,但这里有一些技巧可以将 html 放入文档中:
将 html 代码保存到 html 文件
用 libre office 打开 html 文件(选择网页作为格式)
选择所有内容并将复制
粘贴到您想要的文档中,
这很麻烦,但我没有找到其他方法,尽管我记得 Open Office 中的“选择性粘贴”菜单中有一个 HTML 选项。可能有一些插件或类似的东西可以更轻松地做到这一点。
Libre Office should be able to import HTML code. You can use any Highlighter that can output HTML highlighted code. You may try an online highlighter like http://www.tohtml.com/python/ for example.
Edit: Somehow Libre Office is missing HTML code in the Paste Special menu, but here is some trick to get html into the document:
save your html code to a html file
open the html file with libre office (select web page as format)
select everything and hit copy
paste into the document you want it to be in
This is cumbersome, but I didn't find another way, though I can remember, that there was a HTML option in the Paste Special menu in Open Office. May be there is some plugin or similar stuff to do it easier.
发布评论
评论(1)
Libre Office 应该能够导入 HTML 代码。您可以使用任何可以输出 HTML 突出显示代码的荧光笔。您可以尝试使用在线荧光笔,例如 http://www.tohtml.com/python/ 。
编辑:
不知何故,Libre Office 在“选择性粘贴”菜单中缺少 HTML 代码,但这里有一些技巧可以将 html 放入文档中:
这很麻烦,但我没有找到其他方法,尽管我记得 Open Office 中的“选择性粘贴”菜单中有一个 HTML 选项。可能有一些插件或类似的东西可以更轻松地做到这一点。
Libre Office should be able to import HTML code. You can use any Highlighter that can output HTML highlighted code. You may try an online highlighter like http://www.tohtml.com/python/ for example.
Edit:
Somehow Libre Office is missing HTML code in the Paste Special menu, but here is some trick to get html into the document:
This is cumbersome, but I didn't find another way, though I can remember, that there was a HTML option in the Paste Special menu in Open Office. May be there is some plugin or similar stuff to do it easier.