Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How do you add in-line comments to code snippets?

I'm trying to comment on a code snippet, but the option is greyed out.

I can do in-line comments on text but not on the actual code snippet/block.

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey Community Leader Oct 12, 2020

Yes, that is expected behavior. You only options are to add comments above the code block, or actually edit the code and insert comments in the code using the code syntax.

Is this something that might be changed in the future, having the ability to do in-line comments on specific lines of code?

A bit of context:
I'm building technical documentation that requires to be reviewed and improved, having in-line comments in the code would be optimal.

Bill Bailey Community Leader Oct 12, 2020

Well don't hold your breath. ;-) This issue was reported under CONFSERVER-36415  in 2015, and its current status is shows as "not being considered". So it is open, but no plans to fix.

Thank you for your quick reply! Looks like I will have to find another solution for my team's needs.

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
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