Skip to content

Commit

Permalink
you have to run hugo first
Browse files Browse the repository at this point in the history
  • Loading branch information
cudabu committed Apr 7, 2024
1 parent 9c64d21 commit de09172
Show file tree
Hide file tree
Showing 175 changed files with 49,839 additions and 473 deletions.
410 changes: 341 additions & 69 deletions public/404.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file added public/fonts/KaTeX_AMS-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_AMS-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_AMS-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Caligraphic-Bold.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Caligraphic-Bold.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Caligraphic-Bold.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Caligraphic-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Caligraphic-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Caligraphic-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Fraktur-Bold.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Fraktur-Bold.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Fraktur-Bold.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Fraktur-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Fraktur-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Fraktur-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Bold.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Bold.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Bold.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-BoldItalic.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-BoldItalic.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-BoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Italic.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Italic.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Italic.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Main-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Math-BoldItalic.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Math-BoldItalic.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Math-BoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Math-Italic.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Math-Italic.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Math-Italic.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Bold.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Bold.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Bold.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Italic.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Italic.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Italic.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_SansSerif-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Script-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Script-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Script-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Size1-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Size1-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Size1-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Size2-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Size2-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Size2-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Size3-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Size3-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Size3-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Size4-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Size4-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Size4-Regular.woff2
Binary file not shown.
Binary file added public/fonts/KaTeX_Typewriter-Regular.ttf
Binary file not shown.
Binary file added public/fonts/KaTeX_Typewriter-Regular.woff
Binary file not shown.
Binary file added public/fonts/KaTeX_Typewriter-Regular.woff2
Binary file not shown.
Binary file added public/fonts/abril-fatface-v19-latin-regular.woff
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-300.woff
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-300.woff2
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-300italic.woff
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-300italic.woff2
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-italic.woff
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-italic.woff2
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-regular.woff
Binary file not shown.
Binary file added public/fonts/fira-sans-v16-latin-regular.woff2
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-700.woff
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-700.woff2
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-700italic.woff
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-700italic.woff2
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-italic.woff
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-italic.woff2
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-regular.woff
Binary file not shown.
Binary file added public/fonts/pt-sans-v17-latin-regular.woff2
Binary file not shown.
3 changes: 3 additions & 0 deletions public/icons/copy_content.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/copy_success.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
480 changes: 367 additions & 113 deletions public/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/index.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>My New Hugo Site</title>
<title>Testing Hugo</title>
<link>https://www.cudabu.io/</link>
<description>Recent content on My New Hugo Site</description>
<description>Recent content on Testing Hugo</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 07 Apr 2024 16:52:12 -0500</lastBuildDate>
Expand Down

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions public/katex/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# [<img src="https://katex.org/img/katex-logo-black.svg" width="130" alt="KaTeX">](https://katex.org/)
[![npm](https://img.shields.io/npm/v/katex.svg)](https://www.npmjs.com/package/katex)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![CI](https://github.com/KaTeX/KaTeX/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/KaTeX/KaTeX/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/KaTeX/KaTeX/branch/main/graph/badge.svg)](https://codecov.io/gh/KaTeX/KaTeX)
[![Discussions](https://img.shields.io/badge/Discussions-join-brightgreen)](https://github.com/KaTeX/KaTeX/discussions)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/katex/badge?style=rounded)](https://www.jsdelivr.com/package/npm/katex)
![katex.min.js size](https://img.badgesize.io/https://unpkg.com/katex/dist/katex.min.js?compression=gzip)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/KaTeX/KaTeX)
[![Financial Contributors on Open Collective](https://opencollective.com/katex/all/badge.svg?label=financial+contributors)](https://opencollective.com/katex)

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.

* **Fast:** KaTeX renders its math synchronously and doesn't need to reflow the page. See how it compares to a competitor in [this speed test](https://www.intmath.com/cg5/katex-mathjax-comparison.php).
* **Print quality:** KaTeX's layout is based on Donald Knuth's TeX, the gold standard for math typesetting.
* **Self contained:** KaTeX has no dependencies and can easily be bundled with your website resources.
* **Server side rendering:** KaTeX produces the same output regardless of browser or environment, so you can pre-render expressions using Node.js and send them as plain HTML.

KaTeX is compatible with all major browsers, including Chrome, Safari, Firefox, Opera, Edge, and IE 11.

KaTeX supports much (but not all) of LaTeX and many LaTeX packages. See the [list of supported functions](https://katex.org/docs/supported.html).

Try out KaTeX [on the demo page](https://katex.org/#demo)!

## Getting started

### Starter template

```html
<!DOCTYPE html>
<!-- KaTeX requires the use of the HTML5 doctype. Without it, KaTeX may not render properly -->
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-Juol1FqnotbkyZUT5Z7gUPjQ9gzlwCENvUZTpQBAPxtusdwFLRy382PSDx5UUJ4/" crossorigin="anonymous">

<!-- The loading of KaTeX is deferred to speed up page rendering -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-97gW6UIJxnlKemYavrqDHSX3SiygeOwIZhwyOKRfSaf0JWKRVj9hLASHgFTzT+0O" crossorigin="anonymous"></script>

<!-- To automatically render math in text elements, include the auto-render extension: -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
</head>
...
</html>
```

You can also [download KaTeX](https://github.com/KaTeX/KaTeX/releases) and host it yourself.

For details on how to configure auto-render extension, refer to [the documentation](https://katex.org/docs/autorender.html).

### API

Call `katex.render` to render a TeX expression directly into a DOM element.
For example:

```js
katex.render("c = \\pm\\sqrt{a^2 + b^2}", element, {
throwOnError: false
});
```

Call `katex.renderToString` to generate an HTML string of the rendered math,
e.g., for server-side rendering. For example:

```js
var html = katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}", {
throwOnError: false
});
// '<span class="katex">...</span>'
```

Make sure to include the CSS and font files in both cases.
If you are doing all rendering on the server, there is no need to include the
JavaScript on the client.

The examples above use the `throwOnError: false` option, which renders invalid
inputs as the TeX source code in red (by default), with the error message as
hover text. For other available options, see the
[API documentation](https://katex.org/docs/api.html),
[options documentation](https://katex.org/docs/options.html), and
[handling errors documentation](https://katex.org/docs/error.html).

## Demo and Documentation

Learn more about using KaTeX [on the website](https://katex.org)!

## Contributors

### Code Contributors

This project exists thanks to all the people who contribute code. If you'd like to help, see [our guide to contributing code](CONTRIBUTING.md).
<a href="https://github.com/KaTeX/KaTeX/graphs/contributors"><img src="https://contributors-svg.opencollective.com/katex/contributors.svg?width=890&button=false" alt="Code contributors" /></a>

### Financial Contributors

Become a financial contributor and help us sustain our community.

#### Individuals

<a href="https://opencollective.com/katex"><img src="https://opencollective.com/katex/individuals.svg?width=890" alt="Contribute on Open Collective"></a>

#### Organizations

Support this project with your organization. Your logo will show up here with a link to your website.

<a href="https://opencollective.com/katex/organization/0/website"><img src="https://opencollective.com/katex/organization/0/avatar.svg" alt="Organization 1"></a>
<a href="https://opencollective.com/katex/organization/1/website"><img src="https://opencollective.com/katex/organization/1/avatar.svg" alt="Organization 2"></a>
<a href="https://opencollective.com/katex/organization/2/website"><img src="https://opencollective.com/katex/organization/2/avatar.svg" alt="Organization 3"></a>
<a href="https://opencollective.com/katex/organization/3/website"><img src="https://opencollective.com/katex/organization/3/avatar.svg" alt="Organization 4"></a>
<a href="https://opencollective.com/katex/organization/4/website"><img src="https://opencollective.com/katex/organization/4/avatar.svg" alt="Organization 5"></a>
<a href="https://opencollective.com/katex/organization/5/website"><img src="https://opencollective.com/katex/organization/5/avatar.svg" alt="Organization 6"></a>
<a href="https://opencollective.com/katex/organization/6/website"><img src="https://opencollective.com/katex/organization/6/avatar.svg" alt="Organization 7"></a>
<a href="https://opencollective.com/katex/organization/7/website"><img src="https://opencollective.com/katex/organization/7/avatar.svg" alt="Organization 8"></a>
<a href="https://opencollective.com/katex/organization/8/website"><img src="https://opencollective.com/katex/organization/8/avatar.svg" alt="Organization 9"></a>
<a href="https://opencollective.com/katex/organization/9/website"><img src="https://opencollective.com/katex/organization/9/avatar.svg" alt="Organization 10"></a>

## License

KaTeX is licensed under the [MIT License](https://opensource.org/licenses/MIT).
Loading

0 comments on commit de09172

Please sign in to comment.