Modify

Opened 7 months ago

Last modified 7 months ago

#11743 new enhancement

IHTMLPreviewRenderer support

Reported by: buzztaiki <buzz.taiki@…> Owned by: rjollos
Priority: normal Component: MarkdownMacro
Severity: normal Keywords:
Cc: Trac Release:

Description

This plugin only support WikiProcessor but not support IHTMLPreviewRenderer.

I wrote patch that add IHTMLPreviewRenderer feature.

Attachments (2)

html-renderer.diff (3.6 KB) - added by buzztaiki <buzz.taiki@…> 7 months ago.
html-renderer-2.diff (3.1 KB) - added by buzztaiki <buzz.taiki@…> 7 months ago.

Download all attachments as: .zip

Change History (9)

Changed 7 months ago by buzztaiki <buzz.taiki@…>

comment:1 Changed 7 months ago by buzztaiki <buzz.taiki@…>

I attached patch attachment:html-renderer.diff

comment:2 Changed 7 months ago by buzztaiki <buzz.taiki@…>

I'm sorry for create this ticket as anonymous.

comment:3 Changed 7 months ago by rjollos

  • Reporter changed from anonymous to buzztaiki <buzz.taiki@…>

comment:4 Changed 7 months ago by rjollos

In 13924:

Fixed indentation using reindent.py. Refs #11743.

comment:5 Changed 7 months ago by rjollos

Thanks for the patch! I will try to find time to test it out and commit within the next few days.

comment:6 Changed 7 months ago by buzztaiki <buzz.taiki@…>

If you want to test this patch, you must modify mimeviewer.mime_map as following:

[mimeviewer]
mime_map = ..., text/x-markdown:md, text/x-markdown:markdown

Changed 7 months ago by buzztaiki <buzz.taiki@…>

comment:7 Changed 7 months ago by buzztaiki <buzz.taiki@…>

Sorry, MarkdownRenderer#__init__ is incorrect. I fix it in attachment:html-renderer-2.diff

Add Comment

Modify Ticket

Action
as new The owner will remain rjollos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.