What's wrong with render plugin?

75 views
Skip to first unread message

gar

unread,
Aug 16, 2019, 12:52:28 AM8/16/19
to leo-editor
Since I upgraded to leo-6 i encounter the following:

- render plugin does not treat nodes content as in RST anymore - shows it as plain text (to highlights or markups - nothing)
- specifying @rst for a node forces it to be rendered with markup - but only this node, not it's children
- @targetlanguage settings also doesnt work anymore for render plugin (for syntax highlighter it still works)

Rob

unread,
Aug 16, 2019, 8:26:08 AM8/16/19
to leo-editor
I see the same thing:
  • A node w/ @rst header renders as expected.
  • Child nodes of this node do not.
  • If a parent node on these have an `@language rest`, then all child nodes render as expected.
I don't know what that looked like in previous versions of Leo as I didn't use @rst much in the past; now I do.

HTH
Rob...

Edward K. Ream

unread,
Aug 16, 2019, 10:00:07 AM8/16/19
to leo-editor
On Fri, Aug 16, 2019 at 7:26 AM Rob <lar...@gmail.com> wrote:
I see the same thing:
  • A node w/ @rst header renders as expected.
  • Child nodes of this node do not.
  • If a parent node on these have an `@language rest`, then all child nodes render as expected.
That was as I had intended.  However, I think child nodes of @rst nodes should also render as rst.

Previously, rendering everything as rst produced a lot of docutils errors, and I didn't like that.

I have just created #1287 for this.  I'll get to it soon.

Edward


Edward K. Ream

unread,
Aug 16, 2019, 10:52:43 AM8/16/19
to leo-editor
On Friday, August 16, 2019 at 9:00:07 AM UTC-5, Edward K. Ream wrote:

> I have just created #1287 for this.

Fixed at rev 91ac803 in devel.  There are some subtleties involved.  See the last comment in #1287.

Please reopen if necessary.

Edward

gar

unread,
Sep 20, 2019, 1:11:55 PM9/20/19
to leo-editor
This is still not available in leo-6.1-final. When to expect it?

пятница, 16 августа 2019 г., 17:52:43 UTC+3 пользователь Edward K. Ream написал:

Edward K. Ream

unread,
Sep 20, 2019, 2:04:17 PM9/20/19
to leo-editor
On Fri, Sep 20, 2019 at 12:11 PM gar <gar...@gmail.com> wrote:

This is still not available in leo-6.1-final. When to expect it?

I have no idea what you mean.  We are on 6.1-devel.  If you have specific complaints about #1287 please take the time to explain clearly what they are.

Edward

gar

unread,
Sep 23, 2019, 2:18:00 AM9/23/19
to leo-editor
excuse me. something went wrong in my mind and it seemed to me that this fix doesnt work for render plugin, only affects code highlighting.
now i checked it out once again and convinced that I was mistaken.
excuse me once again.

пятница, 20 сентября 2019 г., 21:04:17 UTC+3 пользователь Edward K. Ream написал:

Edward K. Ream

unread,
Sep 23, 2019, 11:45:05 AM9/23/19
to leo-editor
On Mon, Sep 23, 2019 at 1:18 AM gar <gar...@gmail.com> wrote:
excuse me. something went wrong in my mind and it seemed to me that this fix doesnt work for render plugin, only affects code highlighting.
now i checked it out once again and convinced that I was mistaken.
excuse me once again.

Thanks for this.  No harm done.

Edward
Reply all
Reply to author
Forward
0 new messages