Skip to content

Commit 1eba6ae

Browse files
committed
backup
1 parent 873aa63 commit 1eba6ae

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

markdown_category_checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import argparse
55
from typing import List
66

7+
# TODO: Add a flag to output results as JSON for tooling.
78
def read_markdown_files_from_folder(folder_path: str) -> List[str]:
89
# List all markdown files in the given folder
910
return [f for f in os.listdir(folder_path) if f.endswith('.md')]

markdown_frontmatter_cleanup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import argparse
55
from typing import List
66

7+
# TODO: Add a dry-run flag to preview changes and report diffs.
78
def read_markdown_files_from_folder(folder_path: str) -> List[str]:
89
# List all markdown files in the given folder
910
return [f for f in os.listdir(folder_path) if f.endswith('.md')]

process_markdown_frontmatter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import yaml # You might need to install PyYAML (pip install pyyaml)
44
import argparse
55

6+
# TODO: Add an option to skip files without tags/keywords.
67
def process_frontmatter(frontmatter: dict):
78
"""
89
Modify the first letter of each tag or keyword in the frontmatter if they exist.

0 commit comments

Comments
 (0)