Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Import markdown not working

Hi, I try to import my wiki from github into confluence by copy / pasting the markdown content oof them into Insert -> Markup , but when I select markdown from the pop-up page, it import me as the markup format into confluence.
Even so, when I try to select the menu Insert -> Markup again, nothing show. I need to clean my cache to be able to do it again, I use Google chrome, I also tried with Firefox, and the same thing append.

Do you have any insight of what I do wrong ?

8 answers

Same here.

First time I try to open the Markdown window: I can see the popup, and can insert Markdown-formatted text. The Markdown-preview looks OK, but when clicking 'Insert', the page itself is a mess.

The second time I try to open the Markdown window I get this console error:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

in persistent-storage.js

And nothing happens.

Same here, the markdown is not imported as it should, though the preview shows the markdown being correcly interpreted (but when I publish, the result is not the same)

I'm experiencing the same issue.

Like # people like this

I have the same issue.

First I try to enter markdown, and it sort of works.

But when I want to try again, the bloody thing doesn't even show up...

Is there a possibility to import a document and it will be interpreted as markdown allowing me to write documents offline?

When you click embed markup then cancel it persists an empty text (I guess). because then it starts to throw this error (all browsers).

Uncaught SyntaxError: Unexpected token M in JSON at position 0
at JSON.parse (<anonymous>)
at Object.get (persistent-storage.js:29)
at On (editor_plugin_src.js:97)
at UC.<anonymous> (editor_plugin_src.js:387)
at i.exec.<computed> (atlassian-editor.min.js:1)
at T.execCommand (atlassian-editor.min.js:1)
at UC.execCommand (atlassian-editor.min.js:12)
at UC.b [as execCommand] (batch.js?externals=__local-default__&locale=en-GB:508)
at adg3-plugin.js:160
at HTMLLIElement.<anonymous> (adg3-plugin.js:441)


And error is in

value = JSON.parse(persistedValue);

of the following function

function get(name, scope, defaultValue) {
const storageKey = getStorageKey(name, scope);
const persistedValue = storeManager.getItem(storageKey);
let value;
if (persistedValue !== null) {
// un-stringify the value
value = JSON.parse(persistedValue);
} else if (typeof defaultValue !== "undefined") {
value = defaultValue;
} else {
value = null;
return value;

I'm getting this issue as well, I can't even see the pop up any more.

I have the same issue

clear local storage to see the modal again. as per the answer above. I have a related issue though that even if I choose markdown from the dropdown in the modal and the preview looks good in the modal I always get 'wiki content' on clicking the CTA.

Hi Paul,

If you are not able to import markdown, you can use add-on we released recently: All-in-one File Importer for Confluence

It supports importing markdown files as well as Word, ODT and many others. If you have Github wiki, you can clone (download) them to your PC and use our file importer plugin. It supports multiple files at once, so if you have many files, you can import at once.

Please give it a try and give us feedback if you see any issues. You can install from here:

Suggest an answer

Log in or Sign up to answer

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