Skip to content

Commit

Permalink
Remove # from slugs in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
penge committed Oct 17, 2019
1 parent 6687dc2 commit 76c02b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ Let's say we have `toc` that looks like this:
const toc = [
{
content: 'Coffee',
slug: '#coffee',
slug: 'coffee',
lvl: 2
},
{
content: 'Tea',
slug: '#tea',
slug: 'tea',
lvl: 2
},
{
content: 'Black tea',
slug: '#black-tea',
slug: 'black-tea',
lvl: 3
},
{
content: 'Green tea',
slug: '#green-tea',
slug: 'green-tea',
lvl: 3
},
{
content: 'Milk',
slug: '#milk',
slug: 'milk',
lvl: 2
}
];
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toc-to-html",
"version": "0.2.0",
"version": "0.2.1",
"description": "changes toc (one-level json array) to html (nested list)",
"keywords": [
"toc",
Expand Down

0 comments on commit 76c02b5

Please sign in to comment.