curiouslychase / _goorgeous

[DEPRECATED] A go org syntax parser to html
MIT License
160 stars 28 forks source link

Linebreaks in lists are preserved #50

Closed mgmart closed 5 years ago

mgmart commented 7 years ago

I tried to convert the markdown content of our Hugo site to org. Which worked fine. Unfortunately Hugo does preserve the line-breaks in lists.

In the attached image I've marked the occurrences with arrows. The red markers are for the next ticket 😄 .

documentation_-_mobileorg

The expected outcome would be as shown in the next image which is the Hugo markdown rendering.

documentation_-_mobileorg

And the source code:

_users_peppe_documents_github_mobileorg_github_io_content_documentation_index_org
wd commented 7 years ago

I also found Hugo will not process '=.git=' as attached image shows.

image

curiouslychase commented 7 years ago

@wd the issues you raised has been fixed in #51.

wd commented 7 years ago

@chaseadamsio I've seen it, and I add a issue to hugo, https://github.com/gohugoio/hugo/issues/3899, hugo have upgraded the depends, it will release in the next version. Thanks.

wd commented 7 years ago

Confirmed, this has been fixed at Hugo HEAD version.

curiouslychase commented 5 years ago

@mgmart, sorry for the long delay 😅but I'm re-writing goorgeous. @wd's issues are still fixed in the rewrite but I want to make sure your issues are addressed. Check the commit (listed above) in this issue and let me know if that's the behavior you're expecting.

mgmart commented 5 years ago

@chaseadamsio, from looking at the code I would assume that the issue is addressed. Looking forward to try the rewritten version.

curiouslychase commented 5 years ago

@mgmart you and me both. I'm really excited for what this re-write will do for org support in Hugo and some other ideas I have.

wd commented 5 years ago

@chaseadamsio May be of ftopic, but according to this commit https://github.com/gohugoio/hugo/commit/b6867bf8068fcaaddf1cb7478f4d52a9c1be1411 I found hugo has changed it's org render tool to https://github.com/niklasfasching/go-org/ .

curiouslychase commented 5 years ago

@wd thanks for the heads up...It's kind of a bummer that I was 2 weeks too late. There's still a lot missing (html + html_attr + the way blocks are handled) so I may at least merge the branch into master so that it's complete.

curiouslychase commented 5 years ago

Since t it looks like @niklasfasching PR'ed a new org parser, I'm closing all the issues here, deprecating and archiving goorgeous.