Giter Site home page Giter Site logo

Comments (4)

tobyhodges avatar tobyhodges commented on September 22, 2024 2

@zkamvar I wonder if we should remove the section from the Lesson Example documentation? It's a relatively quick "fix" that will prevent people from running into the same problem again between now and May.

from lesson-example.

zkamvar avatar zkamvar commented on September 22, 2024 1

Thank you @CunliangGeng for bringing this up!

In short, I do not think we will be fixing this issue for three reasons:

  1. In May, we will be transitioning to use The Carpentries Workbench
  2. Support for math rendering in episodes was added in 2021, but it has an unfortunate history that reflects a common pattern in open source: a feature is requested and partially implemented, but there was no follow-through to fix a pretty big flaw (see carpentries-lab/metagenomics-analysis#31 (comment))
  3. We have limited capacity on The Carpentries staff. The process for updating lessons with the styles repository is difficult and that for updating incubator lessons is even more difficult.

One potential solution for you would be to copy this javascript.html file into your _includes/ folder, which would enable mathjax and fonts for your repo (note: this is what the original author of the math support opted to do).

from lesson-example.

CunliangGeng avatar CunliangGeng commented on September 22, 2024

The equations in example lesson are not properly rendered:
image

from lesson-example.

GuillermoFidalgo avatar GuillermoFidalgo commented on September 22, 2024

I agree with @tobyhodges and think we should document a solution like @zkamvar has listed above. That solution did not seem to fix it for me.

Maybe just mention that adding the following at the top of the .md files where math is needed should be enough.

<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

from lesson-example.

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.