forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented support for tikzjax (alshedivat#1990)
Implemented alshedivat#1976. Signed-off-by: George Araújo <[email protected]>
- Loading branch information
1 parent
6130018
commit 1997186
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
layout: post | ||
title: a post with TikZJax | ||
date: 2023-12-12 22:25:00 | ||
description: this is what included TikZ code could look like | ||
tags: formatting diagrams | ||
categories: sample-posts | ||
tikzjax: true | ||
--- | ||
This is an example post with TikZ code. TikZJax converts script tags (containing TikZ code) into SVGs. | ||
|
||
<script type="text/tikz"> | ||
\begin{tikzpicture} | ||
\draw[red,fill=black!60!red] (0,0) circle [radius=1.5]; | ||
\draw[green,fill=black!60!green] (0,0) circle [x radius=1.5cm, y radius=10mm]; | ||
\draw[blue,fill=black!60!blue] (0,0) circle [x radius=1cm, y radius=5mm, rotate=30]; | ||
\end{tikzpicture} | ||
</script> |