Skip to content

Commit

Permalink
fix(clayui.com): SF
Browse files Browse the repository at this point in the history
  • Loading branch information
pat270 committed Jan 27, 2020
1 parent eb62c8c commit 471cfe2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clayui.com/plugins/gatsby-remark-typography/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module.exports = ({markdownAST}) => {
node.depth === 4 ||
node.depth === 5
) {

let id = node.children[0].value
.toLowerCase()
.split(' ')
Expand All @@ -34,7 +33,7 @@ module.exports = ({markdownAST}) => {
node.data = {
hProperties: {
class: `clay-h${node.depth}`,
id: id,
id
},
};
}
Expand Down

0 comments on commit 471cfe2

Please sign in to comment.