Coder Social home page Coder Social logo

Support footnotes ? about ox-slimhtml HOT 3 OPEN

reyman avatar reyman commented on August 31, 2024 2
Support footnotes ?

from ox-slimhtml.

Comments (3)

coldacid avatar coldacid commented on August 31, 2024

Similar for me, but with images.

from ox-slimhtml.

reyman avatar reyman commented on August 31, 2024

I take some times to extend slim with footnotes, i try to share the content here during the next week, using pull request or directly here.

from ox-slimhtml.

balddotcat avatar balddotcat commented on August 31, 2024

Thanks for your input, I am truly glad to see this bit of code getting good use!
My deepest apologies for being AWOL; I've no excuses, just life, work and all.

regarding extending the exporter;

@reyman, I think your pretty much on target, except you're probably confusing the exporter by utilizing the publishing function's name (ox-slimhtml-publish-to-html) as the name of your derived exporter. The first argument is just a string you define yourself.

Otherwise, expanding a derived exporter's functionality is as you've defined with 'special-block'; if you look at slimhtml's backend definition alist, (starting at line 472), you'll notice that for things like the 'item' element, I've just linked to the
original exporter, ie org-html-item.

Also, note that there's really no difference between an org-export-define-derived-backend, and org-export-define-backend definition - the former just gives you the opportunity to override a base implementation with specialized functionality.

regarding images and footnote references;

Thank you very much for looking into the footnotes - I'm certain many people will benefit from it!

Both of these items do seem to be a little hairier to implement cleanly, but all of the functionality is available in 'ox-html'; the trick is finding only what's most relevant to this minimalistic exporter. I have not utilized these, but they both seem to start from within 'org-html-paragraph'.

Again - many thanks - please let me know if this makes thing clearer, or if there's anything else I can help with.

from ox-slimhtml.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.