Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 12 years ago

#780 closed defect (duplicate)

[merge] Patch rst: for adding inline code-block and implement #673 for rst

Reported by: tonib Owned by: utopiste
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

Here is a pactch that adds a code-role to the restructured text. This makes it possible to have a codeprocessor inline.

Also implemented the same functionality as ticket #673 for rst.

Now you should be enable to write

{{{
#!rst


Examples
--------

.. code-block:: text/html

 <H1> Test codeblock </H1>

 <B> fdsafs </B>

End test codeblock

Inline  `html: <B> fdsafs </B>`:code-block:  test
}}}

}}}

The format of the inline code-block is that the language is written first and end with ':'. See above for the html example.

The patch includes the patch #779

/T

Attachments (1)

patch_rst_coderole.diff (8.2 KB ) - added by tonib 20 years ago.
patch for the ticket

Download all attachments as: .zip

Change History (8)

by tonib, 20 years ago

Attachment: patch_rst_coderole.diff added

patch for the ticket

comment:1 by Christopher Lenz, 20 years ago

Summary: [merge] Patch rst: for adding inline code-block and implent #673 for rst [merge] Patch rst: for adding inline code-block and implement #673 for rst

comment:2 by utopiste, 20 years ago

Owner: changed from Jonas Borgström to utopiste
Status: newassigned

comment:3 by Christopher Lenz, 20 years ago

Would be cool to have unit tests for this stuff.

comment:4 by daniel, 20 years ago

Resolution: wontfix
Status: assignedclosed

Included in the patches in #801.

comment:5 by daniel, 20 years ago

Resolution: wontfix
Status: closedreopened

comment:6 by daniel, 20 years ago

Resolution: duplicate
Status: reopenedclosed

comment:7 by Christian Boos, 12 years ago

Milestone: 0.8

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain utopiste.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from utopiste to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.