PolyGlot
PolyGlot copied to clipboard
[suggestion] Import/export of grammar
DEVELOPER TEXT Export to HTML with invisible markers between chapters and sections to allow PolyGlot to differentiate when re-importing.
ORIGINAL TEXT Formats could include json, xml and possibly plain text files.
If plain-text file was imported, a new section imported
would be created, with a new chapted named as the file (or possibly customised in import menu).
Partially links to #1041 with its separation of grammar into external files.
This is absolutely a good idea, but I feel like I need to do a complete rehaul of the system beforehand. The text editor is written from scratch, down to its encoding, which was a bad idea. I need to find a good opensource text editor that I can drop into this.
Coincidentally, I'm looking into something similar for another project that I'm working on, so hopefully I'll be able to draw some inspiration from that. ^^
I posted some possibilities I found in the linked issue, would be those good enough?
Those are absolutely good suggestions, yeah! Mostly just thinking about the order that I'm going to tackle them in. Once I have the editor and encoding down, I'll be able to easily export to various plaintext formats in more manageable ways.
@TrapinchO Gonna be incorporating this into the 4.0 release! :3
@TrapinchO Gonna be incorporating this into the 4.0 release! :3
Glad to hear that!
As for the developer text, would it be possible to simply differentiate the chapters by using a div or something similar?