Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,361
Community Members
 
Community Events
165
Community Groups

how to be easy to depart code and other text markup

the following markdown code:

### title

#### subtitle
+ list item A
+ list item B
+ list item C

this is some text here

```javascript
//this is some javascript code here
function test(){
	console.log('test javascript code')
}

```

this is some other text 

rendered as 

 

title

subtitle

  • list item A
  • list item B
  • list item C

this is some text here

//this is some javascript code here
function test(){
	console.log('test javascript code')
}


this is some other text

 

and it is not easy to tell the texts from the code

 

1 comment

The code is rendered in a code tag, so you could insert some CSS in the page like 

code {
    background: #f0f0f0;
}

that would make it easier to identify the code in the page. This will only highlight the text, not the whole block, but better than nothing ;)

yeah,I mean that does it would be done with this plugin?or some code with the code of this here? 

I found that there is some static resource in this plugin source code,but empty and not referenced?

Well, you should keep using the plugin, but you don't have to add the code to the plugin itself. There should be a section for inputting Global CSS:

https://confluence.atlassian.com/doc/_editing-global-css-321853510.html

You should be able to insert the code above and it shiuld work.

that's helpful, I will give it a try, thanks a lot

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

397 views 0 7
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