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?
答案 0 :(得分:1)
将<notextile></notextile>
添加到<pre>
块的第一行。
<pre>
<notextile></notextile>t.integer :status
-- http://stackoverflow.com/a/21185479/1611925
</pre>