Skip to content

Instantly share code, notes, and snippets.

@scturtle
Created July 9, 2026 09:35
Show Gist options
  • Select an option

  • Save scturtle/5fc8041d1151864bc9325783ec2fbd3f to your computer and use it in GitHub Desktop.

Select an option

Save scturtle/5fc8041d1151864bc9325783ec2fbd3f to your computer and use it in GitHub Desktop.
jira syntax

Jira 标记速查

标题

h1.h6. 分别对应一级至六级标题。

文本格式

  • 粗体*文字*
  • 斜体_文字_
  • 引用??文字??
  • 删除线-文字-
  • 下划线+文字+
  • 上标^文字^
  • 下标~文字~
  • 等宽字体{{文字}}
  • 块引用:行首加 bq. ,或多行用 {quote} ... {quote}
  • 颜色{color:色名}文字{color},如 {color:red}红色{color}

换行与分隔线

  • 空行 → 新段落
  • \\ → 手动换行
  • ---- → 水平分割线
  • --- → 长破折号(—)
  • -- → 短破折号(–)

链接

  • 外部链接:[http://example.com][别名|http://example.com]
  • 邮件地址:[mailto:xxx@xx.com]
  • 用户链接:[~用户名](显示用户全名)
  • 锚点:定义 {anchor:名称},跳转 [#名称]
  • 附件链接:[^附件名.ext](当前问题附件)

列表

  • 无序列表:行首 *(缩进用 *****
  • 有序列表:行首 #(缩进用 #####

图片

  • 嵌入图片:!图片URL或附件名!
  • 可加属性:!图片|属性=值,属性=值!,如 !image.jpg|align=right, vspace=4!
  • 缩略图:!image.jpg|thumbnail!

表格

  • 表头:||标题1||标题2||
  • 数据行:|内容1|内容2|

代码与预格式

  • 无格式文本(不解析任何标记):{noformat} ... {noformat}
  • 代码高亮:{code:语言} ... {code},支持 Java、XML、Python 等常见语言。

面板

  • 基础:{panel}内容{panel}
  • 自定义参数:
    • title=标题
    • borderStyle=solid|dashed|...
    • borderColor=#颜色
    • borderWidth=宽度
    • bgColor=#背景色
    • titleBGColor=#标题背景色

转义

  • \ 转义特殊字符,如 \{ 输出 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment