Forums

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

Referencing a text source?

ray.kim February 8, 2022

Is there a way for a Confluence page to populate by referencing a text file?  I am NOT talking about cutting/pasting or importing text; rather, I am talking about taking a separate text file (i.e. somefile.txt) and referencing that file with something similar to an Include macro.

I read that there's an HTML Include macro (which is ostensibly disabled by default for security reasons) -- maybe something similar to that?

1 answer

0 votes
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2022

Hi @ray.kim 

What do you want to achieve? 

If you just want to reference, then you just simply add the link to the file.

If you want to reference some text in this file, then the answer is no, that's not possible. In fact, I would suggest you to add text from the *.txt file into confluence. a *.txt file doesn't make any sense in confluence... It's just text, so why not putting it direct into a confluence page. 

Regards, Dominic

ray.kim February 10, 2022

Because I've been tasked with finding a way for engineers to store documentation with their GitHub code, and be able to post updates with minimal (or, preferably, no) intervention with updating Confluence pages.

We were thinking that maybe being able to access text files stored with GitHub might potentially be a way to resolve this, but if this isn't possible, then I guess we'll have to look into something else.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events