{"id":15283776,"url":"https://github.com/ntno/mkdocs-macros-test","last_synced_at":"2025-10-07T00:31:33.708Z","repository":{"id":65332257,"uuid":"589800405","full_name":"ntno/mkdocs-macros-test","owner":"ntno","description":"ARCHIVED - Implementation of a (model) pluglet for mkdocs-macros","archived":true,"fork":true,"pushed_at":"2023-02-03T17:16:12.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T03:51:42.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"fralau/mkdocs-macros-test","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-17T00:50:37.000Z","updated_at":"2023-02-03T17:16:31.000Z","dependencies_parsed_at":"2023-02-18T09:30:59.231Z","dependency_job_id":null,"html_url":"https://github.com/ntno/mkdocs-macros-test","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ntno/mkdocs-macros-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntno%2Fmkdocs-macros-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntno%2Fmkdocs-macros-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntno%2Fmkdocs-macros-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntno%2Fmkdocs-macros-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntno","download_url":"https://codeload.github.com/ntno/mkdocs-macros-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntno%2Fmkdocs-macros-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278703582,"owners_count":26031204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-30T14:47:20.156Z","updated_at":"2025-10-07T00:31:33.378Z","avatar_url":"https://github.com/ntno.png","language":"Shell","readme":"# Archived - see pluglet in [mkdocs-terminal](https://github.com/ntno/mkdocs-terminal)\n\n# Test pluglet for mkdocs-macros\n\n## What it is\nThis is a test **pluglet** for mkdocs-macros.\nIts purpose is to serve as a template\nfor pluglets.\n\nIt exports three macros, which can be used in markdown pages, and aren't particularly\ninteresting:\n\n- `test_fn(x:float)`: an arithmetic expression.\n- `say_hello(s:str)`: displays Hello followed by the string, in italics.\n- `test_fn2(s:str)`: same as `say_hello()`but does it slightly differently\n\nFor example, you could write:\n\n    He said {{ say_hello('Joe') }}.\n\nWhich will be translated into HTML as:\n\n    He said \u003ci\u003eHello Joe\u003c/i\u003e\n\n## How to install it\n\nDirectly from pypi:\n`pip install mkdocs-macros-test`\n\nOr directly from the github repository: download\nthe package and run:\n`python setup.py install`\n\n## How to call it from an MkDocs project\n\nIn the config (`mkdocs.yml`) file:\n\n```yaml\nplugins:\n  - search\n  - macros:\n      modules: ['mkdocs_test`] \n```\n\n\n### Notes\nhttps://github.com/fralau/mkdocs_macros_plugin\nquestion - can this plugin be used to change the jinja2 environment that mkdocs uses?\n\nuse case:\ni would like to be able to install a jinja2 extension and then use that extension in my custom mkdocs theme\n\nin particular: \nhttps://github.com/danielchatfield/jinja2_markdown\n\nhttps://github.com/fralau/mkdocs_macros_plugin/blob/master/mkdocs_macros/plugin.py#L583\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntno%2Fmkdocs-macros-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntno%2Fmkdocs-macros-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntno%2Fmkdocs-macros-test/lists"}