{"id":19964393,"url":"https://github.com/arve0/markdown-it-template-literals","last_synced_at":"2026-05-15T05:35:54.887Z","repository":{"id":66164288,"uuid":"147017770","full_name":"arve0/markdown-it-template-literals","owner":"arve0","description":"`${template} literals for markdown-it`","archived":false,"fork":false,"pushed_at":"2018-09-01T17:22:21.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T16:21:09.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arve0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-01T17:13:40.000Z","updated_at":"2023-09-08T17:44:34.000Z","dependencies_parsed_at":"2023-08-01T11:15:47.102Z","dependency_job_id":null,"html_url":"https://github.com/arve0/markdown-it-template-literals","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"e18c52f24d4abbbf4d517cb4fff6d27c3f3603ea"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arve0%2Fmarkdown-it-template-literals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arve0%2Fmarkdown-it-template-literals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arve0%2Fmarkdown-it-template-literals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arve0%2Fmarkdown-it-template-literals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arve0","download_url":"https://codeload.github.com/arve0/markdown-it-template-literals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241396776,"owners_count":19956408,"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","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-11-13T02:23:20.076Z","updated_at":"2026-05-15T05:35:54.813Z","avatar_url":"https://github.com/arve0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markdown-it-template-literals\n\nmarkdown-it-template-literals lets you put ${variables} in your markdown, similar as\n[JS template strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals).\n\nFor example, take this input:\n\n```md\n\u003cscript\u003e\n// define variables here under __md_tl_scope, use var (do not use let or const)\nvar __md_tl_scope = {\n    variables: [1,2,3].map(_ =\u003e Math.random()),\n    replaced: 'rrrrreplaced',\n}\n\u003c/script\u003e\n\n# This is\nsome markdown with \\${variables} that\ncan be \\${replaced}.\n\u003c/script\u003e\n```\n\nResults in:\n\n```html\n\u003cscript\u003e\nvar __md_tl_scope = {\n    variables: [1,2,3].map(_ =\u003e Math.random()),\n    replaced: 'rrrrreplaced',\n}\n\u003c/script\u003e\n\u003ch1\u003eThis is\u003c/h1\u003e\n\u003cp\u003esome markdown with 0.5828191413301298,0.043310291215606256,0.9787475428111776 that\ncan be rrrrreplaced.\u003c/p\u003e\n```\n\n## Security\nThis package uses evil eval, be aware of injection attacks!\n\n## License\nMIT © Arve Seljebu","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farve0%2Fmarkdown-it-template-literals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farve0%2Fmarkdown-it-template-literals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farve0%2Fmarkdown-it-template-literals/lists"}