anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

import html tables when converting from html to markdown #299

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I was thinking of writing a pandoc-powered gui editor, and wanted to use 
something like ckeditor to have a somewhat wysiwyg editor. This could then 
easily be wrapped by a Qt app embedding webkit...

The markdown-to-html works perfectly, and the html-to-markdown works pretty 
well except for tables, which is where the wysiwyg editor would be a great win.

Is there any plan on being able to parse simple html tables into markdown 
syntax? At the moment if you go md -> html -> md the original formatting is 
lost.

Original issue reported on code.google.com by philippe...@gmail.com on 27 Apr 2011 at 12:42

GoogleCodeExporter commented 8 years ago
Ah, in the meantime I fell on 
http://code.google.com/p/pandoc/issues/detail?id=132
I think this should answer me. I'll see if the attached perl script suits my 
needs.

Original comment by philippe...@gmail.com on 27 Apr 2011 at 2:26