Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add gatsby-remark-autolink-headers support #118

Merged
merged 2 commits into from
Feb 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ tags:
description: "An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts."
---

- [The first transition](#the-first-transition)
- [The digital age](#the-digital-age)
- [Loss of humanity through transitions](#loss-of-humanity-through-transitions)
- [Chasing perfection](#chasing-perfection)

An Essay on Typography by Eric Gill takes the reader back to the year 1930. The year when a conflict between two worlds came to its term. The machines of the industrial world finally took over the handicrafts.

The typography of this industrial age was no longer handcrafted. Mass production and profit became more important. Quantity mattered more than the quality. The books and printed works in general lost a part of its humanity. The typefaces were not produced by craftsmen anymore. It was the machines printing and tying the books together now. The craftsmen had to let go of their craft and became a cog in the process. An extension of the industrial machine.
Expand Down
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ module.exports = {
resolve: 'gatsby-remark-responsive-iframe',
options: { wrapperStyle: 'margin-bottom: 1.0725rem' }
},
'gatsby-remark-autolink-headers',
'gatsby-remark-prismjs',
'gatsby-remark-copy-linked-files',
'gatsby-remark-smartypants'
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,38 +37,39 @@
"disqus"
],
"dependencies": {
"classnames": "^2.2.6",
"bluebird": "^3.5.2",
"classnames": "^2.2.6",
"codecov": "^3.1.0",
"netlify-cms": "^2.3.3",
"node-sass": "^4.11.0",
"gatsby": "^2.0.116",
"gatsby-link": "^2.0.10",
"gatsby-plugin-catch-links": "^2.0.10",
"gatsby-plugin-feed": "^2.0.13",
"gatsby-plugin-google-analytics": "^2.0.13",
"gatsby-plugin-manifest": "^2.0.17",
"gatsby-plugin-netlify": "^2.0.9",
"gatsby-plugin-netlify-cms": "^3.0.12",
"gatsby-plugin-manifest": "^2.0.17",
"gatsby-plugin-offline": "^2.0.22",
"gatsby-plugin-react-helmet": "^3.0.6",
"gatsby-plugin-sass": "^2.0.10",
"gatsby-plugin-sharp": "^2.0.20",
"gatsby-plugin-sitemap": "^2.0.5",
"gatsby-remark-autolink-headers": "^2.0.14",
"gatsby-remark-copy-linked-files": "^2.0.9",
"gatsby-remark-images": "^3.0.3",
"gatsby-remark-katex": "^3.0.3",
"gatsby-remark-prismjs": "^3.2.4",
"gatsby-remark-responsive-iframe": "^2.0.9",
"gatsby-remark-relative-images": "^0.2.1",
"gatsby-remark-responsive-iframe": "^2.0.9",
"gatsby-remark-smartypants": "^2.0.8",
"gatsby-source-filesystem": "^2.0.20",
"gatsby-transformer-remark": "^2.2.4",
"gatsby-remark-katex": "^3.0.3",
"gatsby-transformer-sharp": "^2.1.13",
"invariant": "^2.2.4",
"katex": "^0.10.0",
"lodash": "^4.17.11",
"moment": "^2.23.0",
"netlify-cms": "^2.3.3",
"node-sass": "^4.11.0",
"normalize-scss": "^7.0.1",
"prismjs": "^1.15.0",
"react": "^16.8.1",
Expand Down
5 changes: 5 additions & 0 deletions src/assets/scss/base/_generic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ figcaption {
text-align: center;
}

.anchor {
margin-left: -30px !important;
padding-right: 14px !important;
}

@include breakpoint-sm {
figure.float-left,
figure.float-right {
Expand Down