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

primer cannot render scientific and mathematical notations #88

Open
sanam2405 opened this issue Feb 12, 2024 · 0 comments
Open

primer cannot render scientific and mathematical notations #88

sanam2405 opened this issue Feb 12, 2024 · 0 comments

Comments

@sanam2405
Copy link

The current version of jekyll-theme-primer cannot render scientific and mathematical notations properly.

Example 1 :

Markdown code:

Summarizing the results

$Mode$ $CO_{2} Emission$ ($CO_{2}$ $Eqv\ in\ Kg$) $Energy\ Consumed$ ($kWh$)
Train $6.25$ $15.35$
Compress $0.024$ $0.075$
Decompress $0.022$ $0.063$

The rendered output by primer:
Screenshot 2024-02-13 at 3 44 24 AM

Example 2:

Markdown code:

Note - Scaling factor was introduced simply because the numbers generated were small in magnitude and were difficult to plot. Hence, each values were scaled up by a factor of $10^6$. So, apart from the time axis, if a particular value on any axis is read as $V_{plot}$ from the plot, the value should be scaled down as : $$V_{actual} = V_{plot} * 10^{-6}$$

The rendered output by primer:
Screenshot 2024-02-13 at 3 45 50 AM

In particular, I have this repository's readme which is rendered properly by the GitHub markdown parser. However, the rendered GitHub page using the primer theme is erroneous.

My _config.yml file is as follows:

theme: jekyll-theme-primer

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

1 participant