diff --git a/processing/content.py b/processing/content.py index 1d00895..79ee048 100644 --- a/processing/content.py +++ b/processing/content.py @@ -23,7 +23,8 @@ def experience_to_md( data: dict[str, Any], lang: str = "en", headline: str = "", - subdued_publications: bool = True, + subdued_publications: bool = True, # slightly off-color presentation + bulletpoints_show: bool = True, ): if "experience" not in data: return "" @@ -36,8 +37,9 @@ def experience_to_md( if "publication" in exp: md += _publication_md(exp["publication"][lang], subdued_publications) - for point in exp["bullets"]: - md += f"* {point[lang]}\n" + if bulletpoints_show: + for point in exp["bullets"]: + md += f"* {point[lang]}\n" md += "\n\n" return md