首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将atlaskit markdown notation转换为html元素

将atlaskit markdown notation转换为html元素
EN

Stack Overflow用户
提问于 2021-07-01 02:24:02
回答 1查看 98关注 0票数 2

https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

https://atlaskit.atlassian.com/packages/editor/editor-markdown-transformer

我正在尝试将以下文本转换为'html‘元素:

代码语言:javascript
复制
    Regular, **Strong**, *Italic*, @Artur Bodera, ***Strong Italic***
    
    ---
    
    [Regular link](//atlassian.com), [**strong link**](//atlassian.com), [***strong italic link***](//atlassian.com)
    
    ---

!quicktime.mov|width=300,height=400!

{noformat}
preformatted piece of text
 so *no* further _formatting_ is done here
{noformat}

https://codesandbox.io/s/atlaskiteditor-markdown-transformer-0-markdown-transformer-forked-9q428

提供的codesandbox包缺少markdown-transformer提供的示例中的依赖项。如何解决这个问题?

如何将上述符号转换为相应的HTML元素。

EN

回答 1

Stack Overflow用户

发布于 2021-07-04 03:59:05

使用Showdown转换MD -> HTML,然后自己解析@user%s。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68199894

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档