Forums

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

How do you hyperlink inline code?

Emmanuel Jose September 23, 2024

When text is converted into inline code (text between two backticks—`text`), is there a way to hyperlink the inline code?

Regular text and headers can be hyperlinked, but it would be helpful to hyperlink inline code. 

2 answers

0 votes
Kristian Klima
Community Champion
September 24, 2024

Hi @Emmanuel Jose 

Not in the stock Confluence editor - as a content person, I think the reason is that the code serves a specific purpose and is often copied. Hyperlinking it introduces issues... 

/end of playing devil's advocate

Funnily enough, you can do it here on the Community forum :)

Chances are there is an app in the Marketplace that can do that - either an app that enhances links or an app that enhances code blocks/lines.

Emmanuel Jose September 24, 2024

Hi Kristian,

I'll definitely look around for plugins! I hope hyperlinking inline code becomes a native editor feature in the future.

Like Kristian Klima likes this
0 votes
John Funk
Community Champion
September 23, 2024

Hi Emmanuel - Welcome to the Atlassian Community!

Can you share a screenshot showing a little more detail of what you are looking for?

Emmanuel Jose September 23, 2024

Hi John!

Here is a screenshot. The "inline text sample" is placed within a pair of backticks.

Screenshot 2024-09-24 at 1.34.41 AM.png

I am documenting programming methods, and the methods need to reference other methods or concepts that are formatted as inline code.

For example, this MDN page about the charAt() method has embedded hyperlinks within inline code.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events