【文件属性】:
文件名称:jira2slack:在JIRA标记和Slack标记之间转换的库
文件大小:50KB
文件格式:ZIP
更新时间:2021-05-05 04:01:12
hacktoberfest JavaScript
JIRA 2松弛
在JIRA标记和Slack标记之间转换的库
例子
const J2S = require ( 'jira2slack' ) ;
const slackMD = J2S . toSlack ( '*This* _is_ -some- ^over^ ~formatted~ {{text}}' ) ;
// *This* _is_ ~some~ ^over -formatted- `text`
转换次数
以下是进行的转换:
吉拉->松弛
格式
吉拉
松弛
破坏性的
笔记
标头
h1. Heading
\n *Heading*\n
是的
Slack不支持标题,因此库在其自己的行上将标题转换为粗体文本
大胆的
*bold*
*bold*
有时
斜体
_italic_
_italic_
有时
无序列表
* Bulleted List ** Indented more
【文件预览】:
jira2slack-master
----.gitignore(548B)
----package.json(1KB)
----package-lock.json(181KB)
----.travis.yml(899B)
----LICENSE(1KB)
----index.js(4KB)
----test.js(12KB)
----README.md(6KB)