https://bugs.kde.org/show_bug.cgi?id=360811

Friedrich W. H. Kossebau <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Friedrich W. H. Kossebau <[email protected]> ---
Hi. I am also part of the club of people who would like to have some live
preview in the final format when editing some text-based sources. And to get
the itch scratched, last WE I started work on a KTextEditor plugin for a
generic preview toolview, which would delegate actual preview to further
plugins, one per format/mimetype.
(Personally want to use it in KDevelop, but why not making Kate users in the
club happy as well, even if basing it on KTextEditor plugin API means limiting
preview to KTextEditor documents, but then this is the most common base format
edited and also all my current needs are covered)

I reached some first working prototype today and pushed it to
https://commits.kde.org/scratch/kossebau/ktexteditorpreviewplugin
to have some starting point to play with and discuss how this should be done.

Right now has preview plugins for
* Markdown (based on
https://doc.qt.io/qt-5/qtwebengine-webenginewidgets-markdowneditor-example.html)
* SVG (plain QSvgWidget usage)
* Dot graph (needs current kgraphviewer master with D7329 added)

No idea what would be a good forum to collect all our use cases and feature
requests to turn this into something really useful.

Will write an email to kwrite-devel the next days to kick off further
discussions. Just dropping some first info here, so people watching this bug
are aware of this prototype :)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to