This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from datetime import datetime | |
def filename_to_id(filename): | |
return f"https://example.com/posts/{filename.replace('.md', '')}" | |
def markdown_filepath_to_html(filepath): | |
return "<h1>Implement Me</h1>" |