Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to paste markdown containing macros?

Hello,

I am wrtiting a document in emacs org-mode, and export to markdown(if you don't know what org-mode is, you can consider me as writing markdown) I want some of the paragraphs to be expandable, and I found that confluence supports the "expand" macro. I have succeeded with the following:

I paste the markdown file into confluence, and it show exactly what I want. So far so good! Then I cut out a larrge wall of text that I want to be expandable, so I type "/expand" and then paste in my section manually.

But, according to this page

https://confluence.atlassian.com/doc/expand-macro-223222352.html

it should be possible to enclose a section between

{expand}

...

{expand}

to get it expandable.

So I modified my markdown accordingly, but without success. It it possible to edit the confluence contents in "raw" wiki format? Then I could try to paste it in there.

 

Thanks in advance!

David

1 answer

0 votes
Bill Bailey Community Leader Dec 03, 2021

You may have hit on a limitiation of the new editor in Cloud. But yes, you can edit the source code (XHTML) for the page. But you will need a special editor to do so.  I suggest this app:

source-editor-for-confluence 

Thanks for the link, I'll take a look!

Hello,

It seems as if the source editor is a tool that is not included in the standard functionality: it was only available as a "free trial", which in practice means it's not an option for me. I want to use what's available in what's already included in the Jira/bitbucket/confluence account.

Is it not possible to edit confluence pages with wiki notation?

It would be a great improvement to have that, so you don't have to click and type everything manually.

 

BR,

David

Bill Bailey Community Leader Dec 09, 2021

Theoretically yes, but I am pretty sure that was deprecated with the new editor, and possibly in the cloud version generally (Cloud is generally a feature-reduced version of server, with more features being removed everyday ;-) ).

Unfrotunately, Confluence often needs a few free/paid plugins to get what you want. Just the nature of the beast. If you compare the cost of the plugin versus your productivity, it may well be worth it.

Like David Wahlstedt likes this

Thanks for your answer :-)

I don't know if my employer would find it worthy, and my task is now not that urgent that it motivates such a purchase. But it is good to know that it exists! I will work around it by either inserting the expands manually, or having links to separate pages. Or I'll just be more brief, and maybe that's a good thing ;-)

 

Cheers,

David

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

42,937 views 30 134
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you