diff --git a/lib/node.js b/lib/node.js index 676d645..ecb11c9 100644 --- a/lib/node.js +++ b/lib/node.js @@ -1,7 +1,6 @@ import path from 'path' import fs from "fs" - export const Node = { isFile: function(filename) { try { diff --git a/pages/notes/index.js b/pages/notes/index.js index bd9b918..ae65276 100644 --- a/pages/notes/index.js +++ b/pages/notes/index.js @@ -25,6 +25,7 @@ export default function Home({ content, tree, flattenNodes, backLinks }) { ); } + const { nodes, edges } = constructGraphData() export function getStaticProps() { diff --git a/styles/global.css b/styles/global.css index 5586e12..90fd36d 100644 --- a/styles/global.css +++ b/styles/global.css @@ -69,6 +69,14 @@ transform var(--animation-duration) ease; } + ol, + ul, + menu { + list-style: revert; + margin: revert; + padding: revert; + } + /* code --------------------------------*/ code, samp,