improved readability again
This commit is contained in:
@@ -11,13 +11,11 @@ PRIVATE_VAULT_DIR = Path("/vault")
|
|||||||
PUBLIC_VAULT_DIR = "/content"
|
PUBLIC_VAULT_DIR = "/content"
|
||||||
|
|
||||||
build.obsidian_vault(PRIVATE_VAULT_DIR) # initialize the private obsidian repo
|
build.obsidian_vault(PRIVATE_VAULT_DIR) # initialize the private obsidian repo
|
||||||
build.public_vault(PUBLIC_VAULT_DIR) # initialize the public notes from the private repo
|
# build.public_vault(PUBLIC_VAULT_DIR) # initialize the public notes from the private repo
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
# Write your markdown content
|
|
||||||
md_content = "# Welcome to my blog!\nThis is rendered from **Markdown**.\n##[test](http://localhost/test)"
|
md_content = "# Welcome to my blog!\nThis is rendered from **Markdown**.\n##[test](http://localhost/test)"
|
||||||
# Convert it to HTML
|
|
||||||
html_content = markdown.markdown(md_content)
|
html_content = markdown.markdown(md_content)
|
||||||
return html_content
|
return html_content
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user