Download it now!
Bug 94978 (Markdown) - [Request] Save as Markdown
Summary: [Request] Save as Markdown
Status: NEW
Alias: Markdown
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: lowest enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 129413 (view as bug list)
Depends on:
Blocks: Format-Filters
  Show dependency treegraph
 
Reported: 2015-10-12 10:13 UTC by Robert Orzanna
Modified: 2019-12-15 16:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Orzanna 2015-10-12 10:13:20 UTC
Dear all, 

Markdown is gaining popularity for its good balance between simplicity, readability and feature-richness.

What is your opinion on a built-in support for Markdown exports in Calc?

One way I could imagine such a support is by export tables created in Calc to Markdown syntax. 

Calc could make use of the library "csvtomd" [1]. It takes a csv file as an input and converts it to Markdown syntax. 

I could imagine this conversion to run in the background when the user selects "Save as Markdown". It would take the table, convert it to csv first and then use "csvtomd" to export it to a plain text file containing the Markdown syntax. 

Looking forward to a conversation on this. 

Warmly,

Robert

[1] https://github.com/mplewis/csvtomd
Comment 1 Adolfo Jayme 2015-10-13 13:19:08 UTC
Looks like a cool enhancement, thanks for sharing your idea!

I think this does not need to be necessarily an integrated part of Calc, however. I imagine that creating an extension would suffice. Besides, one can already export as CSV from Calc and input that file to csvtomd, and I don’t believe that LibreOffice wants to compete with dedicated Markdown-editing software – thus, lowering this ticket’s importance (not blocking or discouraging anybody from working on this, should they please someday).

For the record, we like Markdown as well: one of our hackers has created a tool to create presentations from .md [1], but note it’s not part of LibreOffice proper.

[1]: https://github.com/thorstenb/odpdown
Comment 2 Robert Orzanna 2015-10-15 05:45:50 UTC
(In reply to Adolfo Jayme from comment #1)
> Besides, one
> can already export as CSV from Calc and input that file to csvtomd, and I
> don’t believe that LibreOffice wants to compete with dedicated
> Markdown-editing software – thus, lowering this ticket’s importance (not
> blocking or discouraging anybody from working on this, should they please
> someday).

That's a valid point. My reasoning was that by integrating the library into the core of LO, it would be more likely to have it maintained over the long-term. 

 
> For the record, we like Markdown as well: one of our hackers has created a
> tool to create presentations from .md [1], but note it’s not part of
> LibreOffice proper.
> 
> [1]: https://github.com/thorstenb/odpdown

That's cool. Thanks for sharing!

~ Robert
Comment 3 Roman Kuznetsov 2019-12-15 16:58:09 UTC
*** Bug 129413 has been marked as a duplicate of this bug. ***