@@ -7,18 +7,18 @@ description: >- # Supports markdown
77 This is the main project page and the page used to demonstrate how this works with all of the options for the Front Matter present
88show-description : true
99
10- # Add mathjax functionality
10+ # Add page-specifi mathjax functionality. Manage global setting in _config.yml
1111mathjax : true
1212# Automatically add permalinks to all headings
1313# https://github.com/allejo/jekyll-anchor-headings
1414autoanchor : true
1515
1616# Preview image for social media cards
1717image :
18- path : /assets/img/twitter.png
18+ path : https://cdn.pixabay.com/photo/2019/09/05/01/11/mountainous-landscape-4452844_1280.jpg
1919 height : 100
20- width : 100
21- alt : Twitter Logo
20+ width : 256
21+ alt : Random Landscape
2222
2323# Only the first author is supported by twitter metadata
2424authors :
@@ -88,9 +88,9 @@ Try clicking this heading, this shows the manually defined header anchor, but if
8888I made this look right by adding the ` no-pre ` class.
8989If you don't include ` markdown="1" ` it will fail to render any markdown inside.
9090
91- You can also make fullwidth embeds
91+ You can also make fullwidth embeds (this doesn't actually link to any video)
9292<div class =" fullwidth " >
93- <video controls =" " width = " 100% " style =" background-color :black ;" ></video >
93+ <video controls =" " style =" background-color :black ; width : 100 % ; height : auto ; aspect-ratio : 16 / 9 ;" ></video >
9494</div >
9595
9696<div markdown =" 1 " class =" content-block grey justify " >
@@ -144,9 +144,9 @@ If you include the - at the start of end of such a line, it say to discard all w
144144In order to keep the comma there, we added the -.
145145This is what happens:
146146{% include util/icons icon='github' icon-library='simpleicons' %}
147- , when you don't have it.
147+ , when you don't have it (notice the space) .
148148
149- And if you have mathjax enabled in ` _config.yml ` , you can even add latex:
149+ And if you have mathjax enabled in ` _config.yml ` or in the Front Matter as it is here , you can even add latex:
150150
151151$$
152152\begin{align*}
165165\end{align*}
166166$$
167167
168+ You can also treat a section of text as a block, and use kramdown's block attribution methods to change fonts.
169+ You can see at the end of this section in the markdown that I do just that
170+ {: class="cabin"}
171+
172+ <div markdown =" 1 " class =" content-block grey justify " >
173+ # This is a really long heading block so I can see if justify breaks the heading, and make sure that headings don't get justify unless they are explicitly classed with justify like the following heading
174+
175+ # This is the following really long heading block so I can see if justify breaks the heading, and make sure that only this heading is justified because it has the explicit tag
176+ {: class="justify"}
177+ </div >
178+
168179<div markdown =" 1 " class =" content-block grey justify " >
169180# Citation
170181
181192 pages = "286--295"
182193}
183194```
184- </div >
195+ </div >
0 commit comments