On 19/12/23 20:29, Thomas Passin wrote:

On Tuesday, December 19, 2023 at 7:38:30 PM UTC-5 [email protected] wrote:

    ...  What has been pretty useful is also to have a web preview of
    the document running in localhost. Something similar, implemented
    with some minimal server, like Flask in Python's case or the
    equivalent for VS Code/Codium could be pretty helpful for authors
    using Markdeep from Leo and wanting and agile preview of their
    documents.

The /ablog/ system uses Sphinx (RestructuredText) to produce blogs, and it can launch a localhost server to serve web views of its blog site(s).  It's pretty easy, one way or another,  to get a simple static server to serve pages.  Of course, with Leo we have the rst3 command, which makes writing these Sphinx documents much easier.  Presumably the same general design could be used for a Markdeep command or plugin.

Yes a static web server that serves the pages produced by an @markdeep node would be pretty useful. The exportation process could add the Markdeep custom metadata and use node levels (relative to the @markdeep node) to indicate sections and subsections.

Cheers,

Offray

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/6a38cec2-24d0-4f05-96bd-4042ca3c8c7e%40riseup.net.

Reply via email to