# הטמעת קובץ .txt / .csv לפוסט

**URL:** https://meta.discourse.org/t/embed-txt-csv-file-to-a-post/208976
**Category:** Support
**Created:** [12 בנובמבר,‏ 2021,‏ 1:29pm UTC](https://meta.discourse.org/t/embed-txt-csv-file-to-a-post/208976 "2021-11-12T13:29:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ed\_Bobkov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_bobkov/32/200014_2.png) [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)
#### Post date: [12 בנובמבר,‏ 2021,‏ 1:29pm UTC](https://meta.discourse.org/t/embed-txt-csv-file-to-a-post/208976/1 "2021-11-12T13:29:52Z")

</div>

Hello! I wonder if it’s possible to embed a .txt or a .csv file to a topic and make the content of the file viewable to visitors?

E.x.: I insert to the topic a tag like [file:[Login | HSTS Redirection Community](https://site.com/file.txt)]  
And visitors will see the content of the file in an HTML format.

---

<div class="post-metadata">

### Author: ![Tris20](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tris20/32/264639_2.png) [@Tris20](https://meta.discourse.org/u/Tris20)
#### Post date: [3 בדצמבר,‏ 2021,‏ 6:16pm UTC](https://meta.discourse.org/t/embed-txt-csv-file-to-a-post/208976/2 "2021-12-03T18:16:22Z")

</div>

I don’t think this exists for CSV and TXT yet, but would be happy to be corrected and would also appreciate such a feature.

At the very least there exists a nice Theme Component for [Embedded PDFs](https://meta.discourse.org/t/inline-pdf-previews/157649) so if the txt information also suits such a format, then maybe use LaTeX or something similar to convert it to a pdf?

Alternatively, depending on the content of the files and your python skills, you could convert the contents into markdown, then use the [Discourse api](https://docs.discourse.org/#operation/createTopicPostPM) to create/update the topic automatically. Or maybe even just find a csv to markdown table converter?
