Edgewall Software

Ticket #780 (closed defect: duplicate)

Opened 4 years ago

Last modified 2 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:

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 4 years ago.
patch for the ticket

Change History

Changed 4 years ago by tonib

patch for the ticket

Changed 4 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

Changed 4 years ago by utopiste

  • owner changed from jonas to utopiste
  • status changed from new to assigned

Changed 4 years ago by cmlenz

Would be cool to have unit tests for this stuff.

Changed 4 years ago by daniel

  • status changed from assigned to closed
  • resolution set to wontfix

Included in the patches in #801.

Changed 4 years ago by daniel

  • status changed from closed to reopened
  • resolution wontfix deleted

Changed 4 years ago by daniel

  • status changed from reopened to closed
  • resolution set to duplicate

Add/Change #780 ([merge] Patch rst: for adding inline code-block and implement #673 for rst )

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from utopiste. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.