Jump to content


Photo

Wish list - export or report to Markdown


  • Please log in to reply
4 replies to this topic

#1 bdunn

bdunn

    Advanced Member

  • Members
  • PipPipPip
  • 42 posts

Posted 19 January 2019 - 06:40 PM

I think it would make things much easier to share on public trees especially those like WikiTree if an export or more likely a report could be saved as Markdown. Markdown would allow a lot of flexibility to produce documentation in a variety of format, especially given the abilities that Pandoc offers. I don't think it would be very difficult to create a method to save as Markdown from a report, much as we can currently save as PDF. HTML, RTF, and Text. If we could save as Markdown, anyone using Pandoc could easily create any format they wanted for almost any application or interface.

 

Markdown info:

https://github.com/a...down-Cheatsheet

 

Pandoc:

https://pandoc.org/

 

 

Thanks for considering.

 

 



#2 Renee Zamora

Renee Zamora

    Advanced Member

  • Support
  • PipPipPip
  • 8334 posts

Posted 22 January 2019 - 02:49 PM

I don't know what Markdown or Pandoc is. Is this something other sites use instead of GEDCOM?


Renee
RootsMagic

#3 Shamberg

Shamberg

    New Member

  • Members
  • Pip
  • 2 posts

Posted 24 January 2019 - 09:20 AM

Renee, I don't know what those are either although they may have to do with my EXPORT / GEDCOM issue.  I want to export my database with only BIRTH, DEATH and place names and avoid all other fact entries for both living and deceased individuals.  This is for family trees on places such as Ancestry and other DNA sites.  Can you help me learn how to do this?  Is it even possible to omit all facts except a few?

Thanks in advance

Shamberg



#4 Jerry Bryan

Jerry Bryan

    Advanced Member

  • Members
  • PipPipPip
  • 3442 posts

Posted 24 January 2019 - 11:50 AM

Yes you can, but can be a fairly labor intensive process if your database includes a lot of different fact types. You can use Lists>Fact Type List to turn each fact on or off for GEDCOM export. The thing that makes it labor intensive is that you have to do each fact on a case by case basis. And if ever you want to include all fact types in a GEDCOM for some other purpose, you have to go back into the Fact Type List and turn each one of them back on. Who can help things along by looking only at the Fact Types that you know are in your database somewhere.

 

Jerry



#5 bdunn

bdunn

    Advanced Member

  • Members
  • PipPipPip
  • 42 posts

Posted 25 January 2019 - 09:59 AM

Back on the ability to save reports as Markdown. I virtually guarantee that your software developers will know about Markdown and will probably understand how it could be very useful to be able to create a very portable format that can be turned into many other types of documents.

 

Here's a page that will show you one way it works. The plain text on the left is converted automatically into the HTML on the right. But it doesn't have to be HTML. It can be almost any kind of output document. It makes everything else VERY easy.

 

https://stackedit.io/app#

 

Try it out. Change some things on the left side with just plain text. Take away the asterisks, etc. and see how it changes on the right. That's a free site and good for experimenting.

 

The thing about Markdown is that it's used by more and more editors:

 

https://www.slant.co...ors-for-windows

https://www.makeuseo...rkdown-editors/

 

But - the BEST THING about Markdown is that it's just plant text, which means every text editor can create a markdown document. Once you have that (and could be easily saved from an RM report I bet) then you can turn the same plain text document with the Markdown "tags" (asterisks, etc.) into whichever kind of document you need. Virtually anything. So that means if you have the ability to save as Markdown then you really have the ability to save in any document format, not just RTF, HTML, PDF, and Text. You can also EASILY update the plain text document using search & replace or whatever to make global changes without affecting the HTML, PDF, whatever you save the Markdown document out to.

 

I am pretty sure the developers will see the thinking on this. Markdown is a universal mark up language to save documents into any format. I hope that makes sense.