Pandoc integration

Pandoc is the go-to and most diffused tool to convert almost any document format.

Implementing it, instead of having to code from scratch every aspect of importing/exporting would be wonderful.

While this might be an easy solution, technically speaking Anytype doesn’t base its documents on Markdown or some other common format. AFAIK they use their own database format and simply provide a markdown export option. While you could probably pass this export through Pandoc, it would be sub-par opposed to them making their own exporter from scratch. I’d much rather preserve the page layout of Anytype’s desktop app when exporting to HTML (when it’s added) than have it look like a bland document.

I am still curious about this… does anyone have any idea about how this could work?

You may have missed the usage of Pandoc, it’s rather to be able to use the same source and export its content in either a clean latex document (article, book, report, thesis), a presentation (pptx, latex beamer, Revealjs), an html document or a website.

It offers the possibility to drastically change the layout or usage of the same content.

Quarto (An open-source scientific and technical publishing system)
is a good example of what can be achieved with a great Pandoc integration/interaction.

See gallery below :

Technically, someone would only have to write a custom Any-Block reader and writer for Pandoc.

Any Lua devs around?