Edgewall Software
Modify

Ticket #780 (closed defect: duplicate)

Opened 7 years ago

Last modified 5 years ago

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

Reported by: tonib Owned by: utopiste
Priority: normal Milestone: 0.8
Component: wiki system Version: devel
Severity: normal Keywords:
Cc:
Release Notes:
API 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

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

Download all attachments as: .zip

Change History

Changed 7 years ago by tonib

patch for the ticket

comment:1 Changed 7 years ago by cmlenz

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

comment:2 Changed 7 years ago by utopiste

  • Owner changed from jonas to utopiste
  • Status changed from new to assigned

comment:3 Changed 7 years ago by cmlenz

Would be cool to have unit tests for this stuff.

comment:4 Changed 7 years ago by daniel

  • Resolution set to wontfix
  • Status changed from assigned to closed

Included in the patches in #801.

comment:5 Changed 7 years ago by daniel

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:6 Changed 7 years ago by daniel

  • Resolution set to duplicate
  • Status changed from reopened to closed
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from utopiste. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.