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
Matt refactor #8
Conversation
The legacy functions aren't really an exporter, so it seems easier to start fresh.
Hugo uses the Blackfriday markdwon parser, whose syntax is similar, but not identical, to Github Flaboured Markdown. Since this parser may be used by other projects, it seems like a good idea to derive ox-hugo.el from a pure blackfriday exporter. `ox-hugo.el` will be reserved for pure Hugo features, such as shortcodes and frontmatter. README updated a little, too.
Copying a lightly-modified ox-hugo.el from @helloyi's repo. (https://github.com/helloyi/ox-hugo)
This was cruft from a previous attmept to modify ox-hugo.el. Sorry!
Not sure why I like this better. Maybe this is stupid.
Wow! That's a healthy dose of commits. Thank you for working on this. The only reservations I have is licensing.. @larstvei Is it OK to take your @helloyi Is it OK to take your In addition, would you all 3: @larstvei, @helloyi, and @titaniumbones assign the copyrights to FSF. The process is simple, just email This is what I emailed them when I started with my FSF copyright assignment process:
And the process was over in a week, all via electronic media (email and PDF attachments). |
THx for catching this @kaushalmodi. I misread the GNU Emacs boilerplate at the top of both @larstvei and @helloyi's I have signed the FSF papers so if this makes it into Emacs my contributions are pre-approved! |
That's great to hear! I plan to have this in the Org source. |
We can keep it in MELPA until the FSF paperwork comes through though, if that's a blocker. Mine took longer to process, but that was a couple of years ago. I filed issues larstvei/ox-gfm#22 and helloyi/ox-hugo#2, maybe the authors will respond :-) |
OK. Thanks for this PR, I have merged it.
Probably they improved the email validation process; I got it about 2 years back. |
Hi Kaushal, I've made a start on ox-hugo that does the following:
ox-hugo.el
toox-hugo-helper.el
since it's not an exporter yet.ox-blackfriday.el,
basically copied fromox-gfm.el
.. From an email thread on the org-mode mailing list, I think there may be other projects using blackfriday, the go parser on which Hugo depends. Seems like a good idea to keep this syntax stuff in its own file.ox-hugo.el
from @helloyi's repo, as a placeholder.