Skip to content

Instantly share code, notes, and snippets.

@dralletje
Last active September 22, 2020 00:07
Show Gist options
  • Save dralletje/7f10d3124e4019dd5d6839f8237b54c9 to your computer and use it in GitHub Desktop.
Save dralletje/7f10d3124e4019dd5d6839f8237b54c9 to your computer and use it in GitHub Desktop.
### A Pluto.jl notebook ###
# v0.11.14
using Markdown
using InteractiveUtils
# ╔═╡ c58752e4-f038-11ea-0726-f98f4287c9f4
md"""
# Use counter in Pluto
Made for [Pluto #449](https://github.com/fonsp/Pluto.jl/issues/449)
"""
# ╔═╡ 923fb8c2-f9bd-11ea-3baf-15c7a4297858
html"""<style>
pluto-notebook {
counter-reset: section footnote footnote-title;
}
pluto-notebook h2 {
counter-reset: subsection;
}
pluto-notebook h2:before {
counter-increment: section;
content: "" counter(section) ". ";
}
pluto-notebook h3:before {
counter-increment: subsection;
content: counter(section) "." counter(subsection) " ";
}
a.footnote {
font-weight: normal !important;
font-size: 0 !important;
vertical-align: super;
}
a.footnote::before {
counter-increment: footnote;
content: "" counter(footnote) "";
font-size: 10px;
}
.footnote-title {
font-size: 0 !important;
}
.footnote-title::before {
counter-increment: footnote-title !important;
content: "[" counter(footnote-title) "]" !important;
font-size: 0.75rem !important;
}
"""
# ╔═╡ a66b15da-f9bd-11ea-0c02-abe8756f79de
md"""
## Introduction
Here is some explanation.
I'm not an academic what is this. [^what_is_this]
"""
# ╔═╡ d2ee37b0-f9bd-11ea-2e1e-a30d5c5d6c58
md"""
### Do introductions have subsections?
I wouldn't know but there is another footnote here [^and_what_is_this]
"""
# ╔═╡ 38bd67ac-f9c1-11ea-0970-ef7baf223d8c
md"""
### Well I guess they do now
Hey there, you're a rock start.
"""
# ╔═╡ 46cfbe6a-f9c1-11ea-255f-79693473b14a
md"""
## Not-introduction
"""
# ╔═╡ 561668b0-f9c1-11ea-26a3-73666182abc0
md"""
### Very important
Stuff $$1 \div 3$$
### Other stuff
More stuff
"""
# ╔═╡ 35cc36d0-fc66-11ea-08ba-dbf4f2535e45
md"""
## References
[^what_is_this]: Maxim Egorov, Zachary N. Sunberg, Edward Balaban, Tim A. Wheeler, Jayesh K. Gupta, and Mykel J. Kochenderfer, "POMDPs.jl: A Framework for Sequential Decision Making under Uncertainty", *Journal of Machine Learning Research*, vol. 18, no. 26, pp. 1–5, 2017.
[^and_what_is_this]: Maxim Egorov, Zachary N. Sunberg, Edward Balaban, Tim A. Wheeler, Jayesh K. Gupta, and Mykel J. Kochenderfer, "POMDPs.jl: A Framework for Sequential Decision Making under Uncertainty", *Journal of Machine Learning Research*, vol. 18, no. 26, pp. 1–5, 2017.
"""
# ╔═╡ Cell order:
# ╟─c58752e4-f038-11ea-0726-f98f4287c9f4
# ╠═923fb8c2-f9bd-11ea-3baf-15c7a4297858
# ╟─a66b15da-f9bd-11ea-0c02-abe8756f79de
# ╟─d2ee37b0-f9bd-11ea-2e1e-a30d5c5d6c58
# ╟─38bd67ac-f9c1-11ea-0970-ef7baf223d8c
# ╟─46cfbe6a-f9c1-11ea-255f-79693473b14a
# ╠═561668b0-f9c1-11ea-26a3-73666182abc0
# ╟─35cc36d0-fc66-11ea-08ba-dbf4f2535e45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment