42 Commits

Author SHA1 Message Date
bjoernf 8cf41b0614 Merge pull request 'Apply Patch' (#1) from usage into master
Reviewed-on: #1
2024-05-12 17:25:14 +02:00
bjoernf 16a2ada206 Apply Patch 2024-05-12 17:21:50 +02:00
bjoernf 4b430213d5 improved unit test 2024-05-07 00:23:18 +02:00
bjoernf 5c9e297b8b Merge branch 'exclude-code-blocks-from-headers' into 'master'
Exclude code blocks from headers

See merge request bjt-user/mdtoc!1
2024-05-06 21:21:04 +00:00
bjoernf 779bd103c6 code blocks will be ignored, added unit test 2024-05-06 23:12:35 +02:00
bjoernf e9abea6b73 added test file 2024-05-06 18:37:06 +02:00
bjoernf 4d0c6e9f3c ignore for binary name mdtoc 2024-05-06 15:28:30 +02:00
bjoernf 2045792354 removed unused func 2024-05-06 01:55:11 +02:00
bjoernf 43d72938b1 line numbers are also printed 2024-05-06 01:40:29 +02:00
bjoernf 7a998e6cbf removed struct member parent 2024-05-06 01:34:25 +02:00
bjoernf c92fde4988 removed get_parents func 2024-05-06 01:32:35 +02:00
bjoernf 170ed10a17 removed func print_children_recursive 2024-05-06 01:25:55 +02:00
bjoernf 10f0126394 removed unused func 2024-05-06 01:22:48 +02:00
bjoernf 2c52f950ca print file name as root and removed func count_levels 2024-05-06 01:16:14 +02:00
bjoernf 67b64d113d tree finally works on all 3 test files 2024-05-06 01:09:44 +02:00
bjoernf 1ef07c59c6 func get_root_children works 2024-05-06 00:58:57 +02:00
bjoernf 21bb0bc95d fixed bug in get_child_indices function 2024-05-05 23:14:51 +02:00
bjoernf 5776805400 get_child_indices func works 2024-05-05 19:54:43 +02:00
bjoernf 5125b7bc0a get_children function works 2024-05-05 16:38:35 +02:00
bjoernf d4c590f2ec improved debug outputs 2024-05-05 09:08:12 +02:00
bjoernf 8f54b4d4bf parse md file in separate func 2024-05-05 08:17:49 +02:00
bjoernf 5dc6ce8daa recursively printing children works 2024-05-01 15:57:29 +02:00
bjoernf 0e61abb6cc print_children func works 2024-05-01 15:42:23 +02:00
bjoernf 8b4e9a9e22 seems to work, but might need unit tests 2024-04-30 23:52:13 +02:00
bjoernf 0539436231 loop through headers differently to have an order and updated README 2024-04-30 19:22:42 +02:00
bjoernf abe168fa7c removed print_toc function to cleanup logic 2024-04-30 18:43:20 +02:00
bjoernf 35dd33e3f2 removed test line 2024-04-30 14:57:04 +02:00
bjoernf 3ce44b7931 gittea push test 2024-04-30 14:40:17 +02:00
bjoernf 9d37c5b519 added function to count header levels and return a map 2024-04-30 14:30:54 +02:00
bjoernf 09a8626a85 Merge pull request 'heading-struct' (#1) from heading-struct into master
Reviewed-on: #1
2024-04-30 11:07:18 +02:00
bjoernf 22191b8bfc updated README 2024-04-30 11:03:08 +02:00
bjoernf c1c08ca71a stored line numbers in struct 2024-04-30 10:59:47 +02:00
bjoernf abd4c60339 used struct to represent the headers 2024-04-30 10:50:58 +02:00
bjoernf d17e61f08f worked on documentation 2024-04-30 08:07:18 +02:00
bjoernf b1bc3d20d9 added docs dir and markdown documentation 2024-04-29 22:33:54 +02:00
bjoernf 060ef1e19d updated README 2024-04-29 21:44:39 +02:00
bjoernf 594d8b4445 added a README with TODOs 2024-04-29 21:29:29 +02:00
bjoernf 3dcc0460a6 cleanup 2024-04-29 13:42:43 +02:00
bjoernf 9e17484cfd added makefile 2024-04-29 09:35:02 +02:00
bjoernf a866691030 moved example markdown files to test dir 2024-04-29 09:33:28 +02:00
bjoernf 477811dd7d dont put binaries in repo 2024-04-29 09:31:22 +02:00
bjoernf 7f49aac0cc initial commit 2024-04-29 09:30:05 +02:00