docs: update test_transfer_odt_4

This commit is contained in:
admin_bora 2024-02-02 00:10:25 +01:00 committed by admin_bora
parent deff071e9c
commit 4a2095149f
1 changed files with 18 additions and 4 deletions

View File

@ -2,7 +2,7 @@
title: transfer proxmox - HTML to Markdown
description:
published: 1
date: 2024-02-01T20:40:47.101Z
date: 2024-02-01T23:10:20.627Z
tags:
editor: markdown
dateCreated: 2024-02-01T19:16:08.517Z
@ -916,14 +916,28 @@ The default is every 5 minutes.
convert doc and odt to markdown: use pandox
convert doc and odt to markdown: use pandoc
[https://stackoverflow.com/questions/16383237/how-can-doc-docx-files-be-converted-to-markdown-or-structured-text](https://stackoverflow.com/questions/16383237/how-can-doc-docx-files-be-converted-to-markdown-or-structured-text)
https://writing.stackexchange.com/questions/9056/from-markdown-to-odt-and-vice-versa-a-possible-distraction-free-writing-workfl
You indeed want to convert to HTML first:
`pandoc OdtFile.odt -o HtmlFile.html`
and then proceed to create markdown file the same way:
`pandoc HtmlFile.html -o MarkDown.text`
https://discourse.suttacentral.net/t/converting-from-word-processor-to-markdown/21
https://pandoc.org/MANUAL.html
pandoc -f markdown -t latex hello.txt
pandoc -f html -t markdown hello.html
pandoc -f html -t markdown_strict hello.html
pandoc -f html -t markdown_strict "Linux LAMP server.html"
pandoc -f html -t markdown_strict "Linux LAMP server.html" -o "Linux LAMP server.md"