Git Product home page Git Product logo

Comments (4)

nandac avatar nandac commented on June 2, 2024 1

Yes @tlienart I was viewing them on GitHub.

I will connect with you on the Xrankllin project in once I get a spare moment to work on Pandoc support.

from franklin.jl.

tlienart avatar tlienart commented on June 2, 2024

Hello,

If you're fully new to Franklin and willing to invest efforts in writing code for plugins, I'd suggest you start directly with Xranklin, which is a rewrite of Franklin and intended to be the next version of Franklin (though it's been a long time coming).

In terms of MathJax you can already use with Franklin. Same with Xranklin.Have a look at the demos folder, mathjax file.

In terms of pandoc, we're moving further away, but nothing prevents you from executing your own processor (pandoc or otherwise). It's just a case of passing it the input and retrieving the output via a hfun. It will require a bit of finicky work but nothing very hard. Primarily pandoc likely generates full HTML and you'd have to strip that away so you only inject the actual HTML body (maybe there's an option in pandoc that lets you generate that directly).

Summary = have a look at Xranklin, both MathJax and Pandoc can be used, first one is easy, second one a bit less, but both doable without changes to the code base.

from franklin.jl.

nandac avatar nandac commented on June 2, 2024

@tlienart Thank you for your prompt reply.

I will certainly take a look at Xranklin and see how I can contribute. I only just started on Julia so still learning the ropes. :-)

Thanks for pointing me to the MathJax support demo.

If I may point out some of the equations are not rendering correctly. I think it may be just a simple syntax issue as the other Math renders without issue.

from franklin.jl.

tlienart avatar tlienart commented on June 2, 2024

I'm not sure to what rendering you're referring to. GitHub processes math as well but badly, this is likely what you saw.

If you run the demos locally you'll see that the math is rendered perfectly.

The demos used to be live but I broke something recently in the deployment that I haven't had the time to fix.

from franklin.jl.

Related Issues (20)

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.