All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Refactored
t fan
command to correctly parse links with dots. Links with dots were previously being parsed incorrectly, resulting in the link text being truncated. - Changed the sorting order of files in
t ls
command. Files are now sorted in ascending order by default. You can use the-r
or--reverse
option to sort files in descending order.
- New
fan
command to fan out sections from a file to other files based on links - New
think.markdown
module with helpers to parse and work with Markdown
- Refactored tests to use assets instead of putting them in one file
- Moved
convert_wikilinks_to_markdown
function tothink.markdown
module - A few bug fixes:
sort_timestamps
now sorts sections better
- Removed
tests.assets.py
in favor of multiple assets files
sort
- Sort sections in a Markdown file based on timestamps in the header. The--reverse
option allows reversing the order of the sorted timestamps. Example usage:t sort -i filename.md
. The command can also be used withstdin
.convert
- Convert all wikilinks in a Markdown file to Markdown links. For example,[[2020-01-01 - Some title]]
is converted to[2020-01-01 - Some title](2020-01-01 - Some title.md)
. Similarly,[[Link|Alias]]
is converted to[Alias](Link.md)
. The command can be used with a single file or a directory containing Markdown files. Usage:t convert filename.md
ort convert path/to/directory
.- Github workflow with tests on PRs to the main branch
- Migrated from setup.py to pyproject.toml.
- Introduced package instead of a script
- Refactored commands to be more modular
Makefile
requirements-dev.txt
for development- help to every command
- Documentation is moved to docs/
ls -l
list files as wiki links
count
command by default counts file modified from midnight of today in local timels
command by default lists files modified today in local time
random
returns a random file
ls
command shows only.md
files
ls
command to list files modified in last 24 hours in reverse chronological order
count
command- tests