moin
moin copied to clipboard
A universal solution for converting between different markup formats
I am pretty sure a LLM could potentially replace Docutils and others for the conversion task.
When I give Gemma-3-27b a reST markup page it converts it easily in a markdown page.
There should be in a future release an API based option for the conversion.
That rather sounds like a separate project, not something that should be integrated into moin.
@ReimarBauer how do you know the results are correct? With the limits of most markup languages, a algorithm that deals with all elements can be more easily be verified to be correct.
BTW, you do know https://pandoc.org/
I’m familiar with Pandoc; I've used it in other tools. I think the LLM approach is interesting because you can access it via an API, avoiding the need for local installation and any relevant security configurations.
e.g. when we want to use latex
Moin wiki can be used as a personal wiki or in an intranet, for example. This does not require an active Internet connection. The data remains in a protected area. By integrating an LLM via an API, we leave this protected area. For me, this is therefore not an alternative to the existing converters. At most, it could be intended as an add-on that an admin consciously activates after finding out about the implications.