Modify

Opened 11 years ago

Closed 4 years ago

#11743 closed enhancement (fixed)

IHTMLPreviewRenderer support

Reported by: buzztaiki <buzz.taiki@…> Owned by: Cinc-th
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@…> 11 years ago.
html-renderer-2.diff (3.1 KB) - added by buzztaiki <buzz.taiki@…> 11 years ago.

Download all attachments as: .zip

Change History (15)

Changed 11 years ago by buzztaiki <buzz.taiki@…>

Attachment: html-renderer.diff added

comment:1 Changed 11 years ago by buzztaiki <buzz.taiki@…>

I attached patch attachment:html-renderer.diff

comment:2 Changed 11 years ago by buzztaiki <buzz.taiki@…>

I'm sorry for create this ticket as anonymous.

comment:3 Changed 11 years ago by Ryan J Ollos

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

comment:4 Changed 11 years ago by Ryan J Ollos

In 13924:

Fixed indentation using reindent.py. Refs #11743.

comment:5 Changed 11 years ago by Ryan J Ollos

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

comment:6 Changed 11 years 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 11 years ago by buzztaiki <buzz.taiki@…>

Attachment: html-renderer-2.diff added

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

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

comment:8 Changed 5 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

comment:9 Changed 4 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:10 Changed 4 years ago by Cinc-th

Resolution: fixed
Status: acceptedclosed

In 18417:

MarkdownMacro: new preview renderer for *.md files. To render README.md und Install.md properly change the following in trac.ini.

[mimeviewer]
mime_map_patterns = text/plain:README(?!(\.md|\.rst))|INSTALL(\.md|\.rst)|COPYING.*

Closes #11743

comment:11 Changed 4 years ago by Cinc-th

Resolution: fixed
Status: closedreopened

comment:12 Changed 4 years ago by Cinc-th

Owner: changed from Ryan J Ollos to Cinc-th
Status: reopenedassigned

comment:13 Changed 4 years ago by Cinc-th

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.