Skip to content

Commit b1ae9d1

Browse files
committed
Merge branch 'master' into moar-readme-updates
2 parents ba86f74 + aa06792 commit b1ae9d1

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.lektorproject

+1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ lektor-disqus-comments = 0.4.1
1212
lektor-google-analytics = 0.1.3
1313
lektor-markdown-excerpt = 0.1
1414
lektor-markdown-header-anchors = 0.3.1
15+
lektor-markdown-highlighter = 0.3.1
1516
lektor-strip-html-tags = 0.3.1
1617
lektor-webpack-support = 0.5

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ Here's how the code is structured in the top level of the repository:
152152
excerpt
153153
- [lektor/lektor-markdown-header-anchors][md-header]: Adds support for
154154
anchors and table of contents to Markdown
155+
- [lektor/lektor-markdown-highlighter][md-highlighter]: Adds support for
156+
syntax highlighting in Markdown and templates
155157
- [terminal-labs/lektor-strip-html-tags][striphtml]: Strip HTML tags,
156158
effectively turning HTML into plain text
157159
- [lektor/lektor-webpack-support][webpacksupport]: Adds webpack support to
@@ -163,6 +165,7 @@ Here's how the code is structured in the top level of the repository:
163165
[lektorga]: https://github.com/kmonsoor/lektor-google-analytics
164166
[mdexcerpt]: https://github.com/bancek/lektor-markdown-excerpt
165167
[md-header]: https://github.com/lektor/lektor-markdown-header-anchors
168+
[md-highlighter]: https://github.com/lektor/lektor-markdown-highlighter
166169
[striphtml]: https://github.com/terminal-labs/lektor-strip-html-tags
167170
[webpacksupport]: https://github.com/lektor/lektor-webpack-support
168171

configs/markdown-highlighter.ini

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pygments]
2+
style = tango

templates/layout.html

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
66
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel="stylesheet">
77
<link rel="stylesheet" href="{{ '/static/gen/style.css'|url }}">
8+
<link rel="stylesheet" href="{{ get_pygments_stylesheet()|url }}">
89
<meta property="og:site_name" content="Creative Commons" />
910
<meta property="og:title" content="{{ this.title }}" />
1011
{% if this.description %}

0 commit comments

Comments
 (0)