Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » [Proposal] Markdown to QTF converter/parser
[Proposal] Markdown to QTF converter/parser [message #53137] Fri, 06 March 2020 21:22 Go to next message
Oblivion is currently offline  Oblivion
Messages: 791
Registered: August 2007
Contributor
Hello,

I've been thinking about this for a while.

Markdown format has gained a lot of traction in the last few years.

I think U++ and TheIDE can benefit from this (for example, TheIDE or any U++ app using QTF can display markdown formatted text it its intended form, using a MD -> QTF conversion).

To this end, I propose encapsulating the MD4C ("Markdown for C") library.

It does not take much space, comes as a single header and source file, is multiplaform (Win, POSIX), easy to encapsulate, and very fast.

It has MIT license.

Here is the MD4C's github link: https://github.com/mity/md4c

What do you think?

(I can get it ready for U++ 2020.2 release)

Best regards,
Oblivion


[Updated on: Fri, 06 March 2020 21:36]

Report message to a moderator

Re: [Proposal] Markdown to QTF converter/parser [message #53145 is a reply to message #53137] Mon, 09 March 2020 04:17 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 605
Registered: December 2005
Location: Budapest, Hungary
Contributor
I would be happy with that.

[Updated on: Mon, 09 March 2020 04:17]

Report message to a moderator

Re: [Proposal] Markdown to QTF converter/parser [message #53146 is a reply to message #53137] Mon, 09 March 2020 08:43 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 265
Registered: August 2018
Location: France
Experienced Member
That's a good idea Smile Thanks

Re: [Proposal] Markdown to QTF converter/parser [message #53150 is a reply to message #53146] Mon, 09 March 2020 11:32 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1109
Registered: March 2006
Location: Italy
Senior Contributor
Very good!

Luigi
Re: [Proposal] Markdown to QTF converter/parser [message #53155 is a reply to message #53137] Mon, 09 March 2020 16:07 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12941
Registered: November 2005
Ultimate Member
Good, that will be a nice little plugin/

Mirek
Re: [Proposal] Markdown to QTF converter/parser [message #54392 is a reply to message #53155] Sat, 11 July 2020 17:09 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 791
Registered: August 2007
Contributor
Ok,

I have started implementing the parser. Hopefully the first official version of it will be available around September if not earlier.

Best regards,
Oblivion


[Updated on: Sat, 11 July 2020 17:09]

Report message to a moderator

icon14.gif  Re: [Proposal] Markdown to QTF converter/parser [message #54393 is a reply to message #54392] Sat, 11 July 2020 23:10 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 588
Registered: November 2008
Location: France
Contributor
Thumbs Up
Nice addition to Upp
Re: [Proposal] Markdown to QTF converter/parser [message #54401 is a reply to message #54393] Sun, 12 July 2020 13:36 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3228
Registered: August 2008
Senior Veteran
That would be great, as we could have the same help files visible in GitHub and U++ web portals, and in U++ apps. Smile

Best regards
Iñaki
Re: [Proposal] Markdown to QTF converter/parser [message #54408 is a reply to message #54401] Tue, 14 July 2020 10:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12941
Registered: November 2005
Ultimate Member
koldo wrote on Sun, 12 July 2020 13:36
That would be great, as we could have the same help files visible in GitHub and U++ web portals, and in U++ apps. Smile


Yeah, well, but we would need QTF->MD for that I guess instead Smile Which is doable too, but harder.

Mirek
Re: [Proposal] Markdown to QTF converter/parser [message #54416 is a reply to message #54408] Tue, 14 July 2020 20:30 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3228
Registered: August 2008
Senior Veteran
mirek wrote on Tue, 14 July 2020 10:40
koldo wrote on Sun, 12 July 2020 13:36
That would be great, as we could have the same help files visible in GitHub and U++ web portals, and in U++ apps. Smile


Yeah, well, but we would need QTF->MD for that I guess instead Smile Which is doable too, but harder.

Mirek
At least, the MD->QTF is good for the new helps.


Best regards
Iñaki
Re: [Proposal] Markdown to QTF converter/parser [message #54738 is a reply to message #53137] Sat, 05 September 2020 00:12 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 791
Registered: August 2007
Contributor
Hi,

A small update and news:

The MD -> QTF converter plugin/wrapper is progressing nicelty.
All the basic stuff (headers, character styles, URL and image links) is done. The more complex stuff (lists & tables) have proven to be somewhat more difficult to convert to qtf. (they can contain more elements than what qtf allows), but there is progress on that side too. So, at least a primitive form of table and list support will hopefully land in first release. Not to mention that I am working on qtf styles supports for md blocks and spans.

A screenshot of the early wersion of -possible- reference example (MarkdownEditor):

index.php?t=getfile&id=6184&private=0

Best regards,
Oblivion


Re: [Proposal] Markdown to QTF converter/parser [message #54747 is a reply to message #54738] Sat, 05 September 2020 20:19 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 588
Registered: November 2008
Location: France
Contributor
Starting to look good !
Re: [Proposal] Markdown to QTF converter/parser [message #54901 is a reply to message #53137] Sun, 27 September 2020 22:47 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 791
Registered: August 2007
Contributor
Hi,

Another small update/nws.

Markdown to qtf converter is progressing nicely.
After some wrestling with "loose" lists, I have managet to map complex DOM model to qtf.

A screenshot:

index.php?t=getfile&id=6229&private=0


Unfortunately the package won't be available in the upcoming upp 2020.2 release. But I'll probably send the initial version in couple of weeks.

Best regards,

Oblivion


[Updated on: Sun, 27 September 2020 22:49]

Report message to a moderator

Re: [Proposal] Markdown to QTF converter/parser [message #54902 is a reply to message #54901] Sun, 27 September 2020 23:52 Go to previous message
zsolt is currently offline  zsolt
Messages: 605
Registered: December 2005
Location: Budapest, Hungary
Contributor
Seems to be very cool! Thanks for working on it!
Previous Topic: [Proposal] The maintainer and the future of TURTLE package
Next Topic: Dear ImGui, bloat-free graphical user interface library for C++
Goto Forum:
  


Current Time: Wed Nov 25 09:00:10 CET 2020

Total time taken to generate the page: 0.01633 seconds