✨ table to list servings, gross and net weight
This commit is contained in:
parent
5b6e7510fe
commit
cf6c3a9d6f
5 changed files with 185 additions and 78 deletions
11
lib.py
11
lib.py
|
|
@ -19,3 +19,14 @@ def read_recipes(keyword=None):
|
|||
]
|
||||
|
||||
return recipes
|
||||
|
||||
|
||||
def recipe_url(recipe_id: int) -> str:
|
||||
return f"{TANDOOR_URL}/recipe/{recipe_id}"
|
||||
|
||||
|
||||
def markdown_link(text: str, url: str) -> str:
|
||||
return f"[{text}]({url})"
|
||||
|
||||
def markdown_alert(text: str) -> str:
|
||||
return f"::: danger\n{text}\n:::"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue