ville rantanen 1e8f310468 save scroll state
2017-07-01 13:55:24 +03:00
2017-05-31 22:50:11 +03:00
2017-06-03 12:29:26 +03:00
2017-07-01 13:55:24 +03:00
2017-06-03 12:29:26 +03:00

MDLinks

MDLinks is a static HTML page with JS markdown parser. It creates a link portal page with the links in a markdown file.

Demo site

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.narrow=[integer]; // Create one column table on windows narrower than N pixels
    • 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)

Description
No description provided
Readme 63 KiB
Languages
HTML 87.7%
Shell 10.4%
JavaScript 1.9%