Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Markdown code highlighting doesn't work

Nikita Konstantinov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 26, 2018

https://community.atlassian.com/t5/custom/page/page-id/create-post-step-1?add-tags=Bitbucket&_ga=2.194014637.1681262374.1540467279-1811545188.1532078831

 

I created page in confluence, clicked "Insert more content" -> "Markup" -> "Markdown".

```php
<?php

echo;
```

... and it doesn't highlight. 

It makes requests to the markdownxhtmlconverter:

curl 'https://confluence..../rest/tinymce/1/markdownxhtmlconverter' \
<...>
--data-binary $'{"wiki":"```php\\n<?php\\n\\necho \'Hello\';\\n```","entityId":"...","spaceKey":"..."}'

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events