有没有办法在 Jira 的文本字段中使用 Markdown (或类似的)?
我正在使用 Jira 进行问题跟踪,并且希望能够使用 Markdown 编写问题描述和评论。有办法做到这一点吗?如果不是 Markdown、wiki 语法、Textile 等等——只是将一些温和的 html 格式设置到页面中的一种方法。
FWIW,带有实时预览的东西,比如 SO 会很棒,但我真正谈论的是渲染方面。 (显然,我可以输入我想要的所有 Markdown :)
I'm using Jira for issue tracking and would like to be able to write issue descriptions and comments using Markdown. Is there a way to do that? If not Markdown, wiki syntax, Textile, whatever -- just a way to get some mild html formatting into the page.
FWIW, something with a live preview, like SO would be great, but I'm really talking about on the rendering side. (Obviously, I can type all the Markdown I want :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
现在有一个非官方支持的插件来支持这一点。
现在我们需要做的就是让 Atlassian 支持正确地(:
There is now an unofficially supported plugin to support just this.
Now all we need to do is get Atlassian to support it properly (:
您需要将该字段的渲染器更改为“Wiki 样式渲染器”。您可以通过编辑项目的字段配置并单击要更改的字段旁边的渲染器链接来完成此操作。您可以将此呈现应用于默认文本字段和自定义文本字段。当然,一旦您将某个字段切换到 wiki,您将无法轻易返回。幸运的是,这可以根据每个项目进行配置。
有关详细说明,请参阅以下文档:
https://confluence.atlassian.com/display /JIRA/指定+字段+行为
You need to change the field's renderer to 'Wiki Style Renderer'. You can do this by editing the field configuration for your project and click the renderers link next to the field you want to change. You can apply this rendering to both default and custom text fields. Of course, once you switch a field to wiki, you won't be able to go back very easily. Fortunately, this can be configured on a per project basis.
See the following documentation for detailed instructions:
https://confluence.atlassian.com/display/JIRA/Specifying+Field+Behavior
您可以在描述和注释字段中使用 Confluence Wiki 语法。当您处于编辑模式时,您会在该字段旁边看到一个“帮助”图标,您可以在其中查看语法;还有一个预览按钮可以在保存之前查看您的更改。
You can use Confluence Wiki syntax in description and comment fields. You'll see a Help icon next to the field when you're in edit mode where you can look at the syntax; there is also a preview button to look at your changes before you save.