Adding links to markdown files based on a CSV file

Add links to markdown files based on a CSV file

Add links to markdown files based on a CSV file This script allows you to add links to multiple markdown files based on a CSV file of key phrases and their corresponding links. Requirements Python 3.x The markdown files should be in the same directory as the script The CSV file should have the following format: Usage Save the script below in the same directory as your markdown files. Create a CSV file with your key phrases and corresponding links....

February 9, 2023 · 1 min
Adding dates to markdown files with Python

A Collection of Python Scripts for Adding Dates to Markdown Files

Problem: Adding Dates to Markdown Files Keeping track of when a markdown file was created or updated can be important for various reasons such as historical reference, version control, or organizing files by date. However, adding the date manually to each file can be time-consuming and prone to errors. Solution: Automating the Process with Python We present a collection of four Python scripts that automate the process of adding dates to your markdown files....

February 7, 2023 · 2 min

Adding a Set Date to the Frontmatter of Markdown Files

Introduction This script is designed to add a specific date to the frontmatter of markdown files. The user provides the date in the format dd/mm/yyyy and the script will convert it to the ISO format and add it to the frontmatter of each markdown file in the /add-dates directory. After the date is added, the file will be moved to the /dates-added directory. Unique Features What sets this script apart from the other date-adding scripts is its ability to allow the user to set a specific date for the frontmatter....

February 7, 2023 · 2 min

Automatically Add Cover Images to Markdown Blog Posts

Introduction Do you have a large directory of markdown blog posts that you want to add cover images to? This script makes it easy to do just that. It inserts the cover image information into the front matter section of the markdown files, and also uses regular expressions to extract the subject and company of the image from the markdown file. Requirements To use this script, you will need to have Python and the os and re modules installed on your computer....

January 1, 2020 · 2 min