# Convert Markdown.MD to string in Julia

**URL:** https://discourse.julialang.org/t/convert-markdown-md-to-string-in-julia/116559
**Category:** General Usage
**Created:** [July 3, 2024, 2:54am UTC](https://discourse.julialang.org/t/convert-markdown-md-to-string-in-julia/116559 "2024-07-03T02:54:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anastasia21112](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@anastasia21112](https://discourse.julialang.org/u/anastasia21112)
#### Post date: [July 3, 2024, 2:54am UTC](https://discourse.julialang.org/t/convert-markdown-md-to-string-in-julia/116559/1 "2024-07-03T02:54:07Z")

</div>

I’m trying to parse a Markdown.MD table object into a string in Julia so that I can gather the list of things that are in the table and use them as strings later on in the code. I was wondering if there was any command that could easily convert the Markdown table into a parseable string?

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [July 3, 2024, 10:34am UTC](https://discourse.julialang.org/t/convert-markdown-md-to-string-in-julia/116559/3 "2024-07-03T10:34:47Z")

</div>

Not sure what you mean. If you already have a `Markdown.MD` object, let’s call it `md`, you can turn it back into a string with `string(md)` but it seems more interesting to look into its internals, e.g. `md.content[1].rows`.
