Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for VERSE block #29

Closed
priyadarshan opened this issue Mar 2, 2017 · 5 comments
Closed

Support for VERSE block #29

priyadarshan opened this issue Mar 2, 2017 · 5 comments
Assignees

Comments

@priyadarshan
Copy link

priyadarshan commented Mar 2, 2017

Hello,

Now that Goorgeous is available via Hugo, a non-profit I have been helping is considering switching to Hugo.

They curate a pretty large site offering several thousands books, all using org-syntax.

Many are poetry books, and use the VERSE block.

#+BEGIN_VERSE
Earth’s cry ascends,
But before it touches Heaven’s Eye,
 It returns.
#+END_VERSE

It would be excellent for us if Goorgeous could support VERSE block.

Thank you for Goorgeous.

@curiouslychase
Copy link
Owner

Can you share an example of the expected html block?

@priyadarshan
Copy link
Author

priyadarshan commented Mar 2, 2017

This is how Emacs natively exports the block in example (Emacs 25.2.1):

<p class="verse">
Earth’s cry ascends,<br  />
But before it touches Heaven’s Eye,<br  />
 It returns.<br  />
</p>

It would be important to preserve the verse indentation, and the <p class="verse"> that allows styling.

Thank you so much for considering it.

@curiouslychase curiouslychase self-assigned this Apr 12, 2017
curiouslychase pushed a commit that referenced this issue Apr 12, 2017
@curiouslychase
Copy link
Owner

I had a branch I was getting ready to PR into Hugo this week that fixed this, but it looks like @niklasfasching PR'ed a new org parser, so I'm closing all the issues here, deprecating and archiving goorgeous.

@priyadarshan
Copy link
Author

priyadarshan commented Jun 26, 2019

Thank you so much for all the work you put into goorgeous. It made a difference in my life and my work, and I am very grateful for that. Best of luck for all your current and future endeavours.

@curiouslychase
Copy link
Owner

Thanks @priyadarshan, that means a lot! I think @niklasfasching's implementation will support your use case a lot better, so hopefully that's helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants