# Markdown format export

**URL:** <https://help.ganttproject.biz/t/markdown-format-export/3985>\
**Category:** GanttProject Desktop Support\
**Created:** [December 13, 2021, 9:29am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985 "2021-12-13T09:29:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgibellini](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/pgibellini/32/1852_2.png) [@pgibellini](https://help.ganttproject.biz/u/pgibellini)\
**Post date:** [December 13, 2021, 9:29am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/1 "2021-12-13T09:29:49Z")

</div>

In recent years, systems have spread that render Gantt charts written in markdown language (for example [https://plantuml.com/](https://plantuml.com/) or [https://mermaid-js.github.io](https://mermaid-js.github.io)). They are used to generate Gannt charts from source code comments, or are integrated into wikis or documentation tools.

Would it be possible to think of an export function from GanttProject to markdown language format?

---

<div class="post-metadata">

**Author:** ![malcaraz](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@malcaraz](https://help.ganttproject.biz/u/malcaraz)\
**Post date:** [December 13, 2021, 3:07pm UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/2 "2021-12-13T15:07:54Z")

</div>

Why the generated image generated from those tools (in markdown language) is better than the GanttProject export function? PDF, graphic… could also fit in your documents. At least, that is what I do.

For your question, an intermediate step that comes to my mind is to go GanttProject to Excel, and Excel / CSV to… what you need! 🙂

---

<div class="post-metadata">

**Author:** ![pgibellini](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/pgibellini/32/1852_2.png) [@pgibellini](https://help.ganttproject.biz/u/pgibellini)\
**Post date:** [December 13, 2021, 8:58pm UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/3 "2021-12-13T20:58:11Z")

</div>

I was not thinking about rendering a better image (GanttProject is able to generate excellent images), but to generate a basic starting Gantt for projects managed through Web-based Wikis, in order to update the Gantt on the Wiki itself.

Anyway thanks for the suggestion, I will try to go through intermediate exchange formats.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [December 14, 2021, 2:43pm UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/4 "2021-12-14T14:43:45Z")

</div>

This is a reasonable and understandable enhancement, and there is even the issue in the tracker for this: [Export to mermaid format · Issue #1668 · bardsoftware/ganttproject · GitHub](https://github.com/bardsoftware/ganttproject/issues/1668)

However, it requires significant efforts on coding and then on supporting the export code, while the demand in such feature is not that high. If you’re willing to invest your time into such kind of export, please let me know.

---

<div class="post-metadata">

**Author:** ![twa](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/t/bb73d2/32.png) [@twa](https://help.ganttproject.biz/u/twa)\
**Post date:** [December 15, 2021, 6:36am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/5 "2021-12-15T06:36:54Z")

</div>

Since GanttProject uses XML as it’s fileformat, the best (IMHO) way to get from one structed language to another would be to use XSLT. Dmitry, is it possible to use XSLT with an export function in GanttProject?

This would indeed be a great enhancement, but as far as I can see, Mermaid supports far less features than GanttProject. So, @pgibellini, I would export my project to PNG and integrate that to the Wiki.

---

<div class="post-metadata">

**Author:** ![pgibellini](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/pgibellini/32/1852_2.png) [@pgibellini](https://help.ganttproject.biz/u/pgibellini)\
**Post date:** [December 15, 2021, 8:12am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/6 "2021-12-15T08:12:57Z")

</div>

I don’t have a lot of time and I’m not skilled in Java, but I could start thinking about the export process.  
@Twa’s suggestion to start from XML format could be a starting option.

---

<div class="post-metadata">

**Author:** ![pgibellini](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/pgibellini/32/1852_2.png) [@pgibellini](https://help.ganttproject.biz/u/pgibellini)\
**Post date:** [December 15, 2021, 9:02am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/7 "2021-12-15T09:02:58Z")

</div>

I agree, an export to Mermaid and PlantUML couldn’t cover all the features of GanttProject, but initially one could start with a subset of the content, I will try to think about it.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [December 15, 2021, 11:15am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/8 "2021-12-15T11:15:48Z")

</div>

I am not sure that I clearly understand what is “use XSLT with an export function”. You don’t need any export function to process GanttProject’s files with XSLT or any other tool. Just take the file and process it.

---

<div class="post-metadata">

**Author:** ![twa](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/t/bb73d2/32.png) [@twa](https://help.ganttproject.biz/u/twa)\
**Post date:** [December 15, 2021, 11:50am UTC](https://help.ganttproject.biz/t/markdown-format-export/3985/9 "2021-12-15T11:50:10Z")

</div>

I thought about integrating such an XSLT-based export to the export capabilities of GanttProject. But I was just curious …
