headings have an id, version 34
This commit is contained in:
parent
eacd3816f5
commit
b7c5731d2f
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
.PHONY: help build publish
|
||||
VERSION = 1.0.33
|
||||
VERSION = 1.0.34
|
||||
|
||||
help:
|
||||
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if self.size == 'h2' %}
|
||||
<h2>{{ self.heading_text }}</h2>
|
||||
<h2 id="{{ self.heading_text|lower|slugify }}">{{ self.heading_text }}</h2>
|
||||
{% elif self.size == 'h3' %}
|
||||
<h3>{{ self.heading_text }}</h3>
|
||||
<h3 id="{{ self.heading_text|lower|slugify }}">{{ self.heading_text }}</h3>
|
||||
{% elif self.size == 'h4' %}
|
||||
<h4>{{ self.heading_text }}</h4>
|
||||
<h4 id="{{ self.heading_text|lower|slugify }}">{{ self.heading_text }}</h4>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue