Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesknelson committed Oct 30, 2018
1 parent 2e00689 commit 5703a7f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions TODO.md
@@ -0,0 +1,11 @@
TODO
====

- fix mdx.macro auto-refresh
- update mdx.macro to include same set of remark/rehype/textr plugins as mdx-loader
- tests for:
- mdx-constant
- mdx-loader (see how @mdx-js/loader does it)
- mdx-table-of-contents
- add option for mdx-loader that *only* exports frontMatter and tableOfContents
(and leaves everything else out), test it (useful for meta in large websites like frontarm)
2 changes: 1 addition & 1 deletion packages/mdx-table-of-contents/index.js
Expand Up @@ -19,7 +19,7 @@ function mdxTableOfContents(options = {}) {
}
}

function getInfo(root, { minTableOfContentsLevel = 2, maxTableOfContentsLevel = 3 } = {}) {
function getInfo(root, { minTableOfContentsLevel = 1, maxTableOfContentsLevel = 3 } = {}) {
let info = {
hasFrontMatterExport: false,
hasTableOfContentsExport: false,
Expand Down

0 comments on commit 5703a7f

Please sign in to comment.