31 lines
872 B
Markdown
31 lines
872 B
Markdown
# MDLinks #
|
|
|
|
MDLinks is a static HTML page with JS markdown parser. It creates a link portal page with the links in a markdown file.
|
|
|
|
## UI
|
|
|
|
* At the top there is a search bar. Enter values to filter out links not matching to keyword.
|
|
* Pressing key 's' focuses the search bar.
|
|
* Top right has a tick box. Click it to convert all links to open in a new window/tab.
|
|
|
|
## Configuration
|
|
|
|
* config.js
|
|
* File is read to replace values in "config.xx" object.
|
|
* config.source='path_to_markdown.txt';
|
|
* config.style='path_to_style.css';
|
|
* config.title='Title of page';
|
|
* config.columns=[integer]; // Split heads to this many columns
|
|
* config.search=true; // Display link search bar
|
|
* config.favicon='path_to_favicon.ico';
|
|
|
|
## Markdown
|
|
|
|
Only 1st level heads and links are parsed. The rest are printed as is:
|
|
```
|
|
# header
|
|
|
|
[link name](link url)
|
|
|
|
```
|