Converting atlaskit markdown notation to html elements

413 Views Asked by At

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

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

I am trying to convert the below text as 'html' elements:-

    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

The provided codesandbox package is missing dependencies in provided example by markdown-transformer. How to fix this?

How to convert the above notation to corresponding HTML elements.

1

There are 1 best solutions below

1
On

Use Showdown to convert MD -> HTML, then parse the @users yourself.