Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown app #1381

Open
mlorek opened this issue Apr 26, 2024 · 1 comment
Open

markdown app #1381

mlorek opened this issue Apr 26, 2024 · 1 comment

Comments

@mlorek
Copy link

mlorek commented Apr 26, 2024

Hi,

using atlassian-python-api , is it possible to create a page with embedded markdown app?
e.g.

erDiagram
	TBL1 ||--o{ TBL2 : KEY
	
@mlorek
Copy link
Author

mlorek commented Apr 29, 2024

this seems to be working:

page_body = '''
test erd

<ac:structured-macro ac:name="markdown">
  <ac:parameter ac:name="sourceType">MacroBody</ac:parameter>
  <ac:parameter ac:name="syntax">Markdown</ac:parameter>
  <ac:plain-text-body><![CDATA[
```mermaid
erDiagram
	T1 ||--o{ T2 : KEY

]]></ac:plain-text-body>
</ac:structured-macro>
'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant