如何在<pre> block in redmine textile?

时间:2018-03-08 22:09:11

标签: redmine textile

I want to paste a block of code or output into a redmine note and reference my source as a clickable URL below it. In redmine's textile, the <pre> tag lets me post code. But I would like the URL reference of that code to be clickable and indented as much as the content above it.

However, the <pre> tag disables the rendering of URLs into clikable hyperlinks. Any way I can have a clickable hyperlink within a <pre> block in redmine's textile markup?

1 个答案:

答案 0 :(得分:1)

<notextile></notextile>添加到<pre>块的第一行。

<pre>
<notextile></notextile>t.integer :status
-- http://stackoverflow.com/a/21185479/1611925
</pre>