Zim

restructuredtext (rst) syntax support

Bug #526034 reported by Dan Connolly
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Wishlist
Unassigned

Bug Description

I'd like to have support for restructured text.
http://docutils.sourceforge.net/rst.html

I'm interested to work on it. I saw some clues in related bugs about markdown (Bug #495898) and creole (Bug #338030). That should get me started.

p.s. this is a request for enhancement, not really a bug report.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 526034] [NEW] restructuredtext (rst) syntax support

@dan: to do a quick hack you would only need to touch formats/wiki.py
and make it read / write rst. If you have this up and running you can
send it to me and I'll add options in the UI for the user to select
the format as a notebook preference. The parse tree format is basicly
an XML like internal format. There is some documentation in the
HACKING notebook in the source. If you have any questions feel free to
mail me directly.

Changed in zim:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: backend syntax wiki
Revision history for this message
John Burkhart (jfburkhart) wrote :

Interesting... I think it could be quite easy to make wiki.py read / write rst
If I'm not mistaken, all the tools are available in docutils.core

Revision history for this message
HansBKK (hansbkk) wrote :

This would be so cool, especially with full support for the Sphinx extensions.

Actually support for **any** "more standard" syntax would be a vast improvement over having a proprietary one (yes mostly the same as DokuWiki but. . .)

Ideal from my POV would be Pandoc's extended Markdown as that opens up a huge number of conversions, or Txt2tags.

Pandoc supports reST as an input format, but only a subset.

Revision history for this message
Mike (mrmikee) wrote :

Did this ever go anywhere? Having an option to default my ZIM docs as RST for Sphinx would be fantastic!

I love ZIM, but would love to have the option to default my files to RST instead.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 526034] Re: restructuredtext (rst) syntax support

On Tue, Jan 22, 2013 at 1:03 PM, Mike <email address hidden> wrote:
> Did this ever go anywhere? Having an option to default my ZIM docs as
> RST for Sphinx would be fantastic!
>
> I love ZIM, but would love to have the option to default my files to RST
> instead.

THe pyzim-next code tree has a more generalized parser class, so it is
more easy to implement now than before and framework is more or less
prepared for this. However implementing/integrating a RST parser is
not on my priority list, so it will be on the shelve until someone
picks it up.

Regards,

Jaap

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.