Skip to contents

This function reads a markdown file, extracts the highlighted sentences (enclosed in **), and writes them to another markdown file.

Usage

extract_highlights(input_file, output_file)

Arguments

input_file

Path to the input markdown file.

output_file

Path to the output markdown file.