Skip to content

Instantly share code, notes, and snippets.

View osama2kabdullah's full-sized avatar
🎯
Focusing

Osama Abdullah osama2kabdullah

🎯
Focusing
View GitHub Profile
@osama2kabdullah
osama2kabdullah / export.sh
Created October 8, 2024 13:31 — forked from janbiasi/export.sh
Export Markdown file as HTML files
#!/bin/bash
# for each md file in the directory
for file in *.md
do
# convert each file to html and place it in the html directory
# --gfm == use github flavoured markdown
marked -o pages/$file.html $file --gfm
done