Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danieljudd/markdownlazylinks
Are you a lazy girl/boy? Fix header titles, table of contents, add footnotes to your markdown files.
https://github.com/danieljudd/markdownlazylinks
github-pages hugo markdown md
Last synced: 19 days ago
JSON representation
Are you a lazy girl/boy? Fix header titles, table of contents, add footnotes to your markdown files.
- Host: GitHub
- URL: https://github.com/danieljudd/markdownlazylinks
- Owner: danieljudd
- License: gpl-3.0
- Created: 2024-04-09T11:55:30.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T14:54:08.000Z (10 months ago)
- Last Synced: 2024-11-19T15:54:32.730Z (3 months ago)
- Topics: github-pages, hugo, markdown, md
- Homepage:
- Size: 295 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Markdown Lazy Links
This program modifies markdown files to:
- add table of contents to the head of your file (and ignoring [Hugo's](https://gohugo.io/) frontmatter if it exists)
- generate a footer with all (non-image) links from your file
- modify existing titles to titlecase formatThe changes are put into a file called "processed" in the same directory, so the original files should be untouched. Vitally, you should backup your files to another directory first if you are unsure or modifying important files with this program.
## Images
Before and after conversion:![Preview web](https://github.com/danieljudd/markdownlazylinks/blob/main/images/example1_preview.png)
The process of manual review (can disable)
![Preview terminal](https://github.com/danieljudd/markdownlazylinks/blob/main/images/example1_program.png)
## Download
Get the MDLL.zip:[v1.0.0 Released Here](https://github.com/danieljudd/markdownlazylinks/releases)
## How to use
1. Place .exe in the same directory as markdown files (optional but easier)
2. In terminal run the .exe
3. Follow prompts## Options
```
options:
-h, --help show this help message and exit
--path [PATH] Path to a markdown file or a directory to process.
--no-links Do not parse and reformat links as footnotes.
--no-titlecase Do not convert headings to title case.
--no-interactive Disable interactive mode for title case corrections.
--no-toc Do not generate a Table of Contents at the beginning of the document.
```