File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ this branch:
18
18
- [ ] Finish ` Navigation ` component (greg)
19
19
- [x] Add custom route for landing page (greg)
20
20
- [x] Fixed sidebar (Fernando)
21
+ - [x] Add anchor icons (Fernando)
21
22
22
23
Some of these should be fairly quick adds now that the site works. The two
23
24
toughest ones are most likely the markdown parsing and external population. The
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
8
8
const ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
9
9
const DirectoryTreePlugin = require ( 'directory-tree-webpack-plugin' ) ;
10
10
11
+
11
12
module . exports = ( env = { } ) => ( {
12
13
devtool : 'source-map' ,
13
14
context : path . resolve ( __dirname , './src' ) ,
@@ -37,8 +38,13 @@ module.exports = (env = {}) => ({
37
38
plugins : [
38
39
// TODO: Add necessary remark plugins
39
40
require ( 'remark-slug' ) ,
40
- require ( 'remark-autolink-headings' ) ,
41
- require ( 'remark-html' ) ,
41
+ [
42
+ require ( 'remark-autolink-headings' ) ,
43
+ {
44
+ behaviour : 'append'
45
+ }
46
+ ] ,
47
+ require ( 'remark-html' )
42
48
require ( 'remark-mermaid' )
43
49
]
44
50
}
You can’t perform that action at this time.
0 commit comments