{"id":22025906,"url":"https://github.com/sakryukov/vscode-markdown-calculator","last_synced_at":"2026-04-09T22:43:49.523Z","repository":{"id":54233306,"uuid":"343627411","full_name":"SAKryukov/vscode-markdown-calculator","owner":"SAKryukov","description":"Visual Studio Code extension: Markdown Calculator","archived":false,"fork":false,"pushed_at":"2025-04-26T21:22:03.000Z","size":660,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-26T22:18:37.989Z","etag":null,"topics":["extension","markdown","node-js","visual-studio-code"],"latest_commit_sha":null,"homepage":"https://www.SAKryukov.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAKryukov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-03-02T02:59:08.000Z","updated_at":"2025-04-26T21:04:41.000Z","dependencies_parsed_at":"2023-11-23T17:26:09.298Z","dependency_job_id":"e1b266b7-e3c8-4d8b-b52b-8639861b020e","html_url":"https://github.com/SAKryukov/vscode-markdown-calculator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/SAKryukov/vscode-markdown-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAKryukov%2Fvscode-markdown-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAKryukov%2Fvscode-markdown-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAKryukov%2Fvscode-markdown-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAKryukov%2Fvscode-markdown-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAKryukov","download_url":"https://codeload.github.com/SAKryukov/vscode-markdown-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAKryukov%2Fvscode-markdown-calculator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267552097,"owners_count":24106000,"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-07-28T02:00:09.689Z","response_time":68,"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":["extension","markdown","node-js","visual-studio-code"],"created_at":"2024-11-30T07:20:40.711Z","updated_at":"2026-04-09T22:43:44.505Z","avatar_url":"https://github.com/SAKryukov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visual Studio Code extension: Markdown Calculator\r\n\r\n![Logo](images/logo.png)\r\n\r\nPut the keyword (by default, \"run\") on the same line as the opening fence indicator.\r\nIt will force the *fenced code block* to execute instead of rendering it:\r\n\r\n````\r\n~~~~ run\r\n    const x = 2, y = 3;\r\n    console.log(x, y, x+y);\r\n    return x * y;\r\n~~~~\r\n````\r\n\r\nThe execution results will be rendered instead of the source code:\r\n\r\n2 3 5\r\n\r\n6\r\n\r\nLikewise, for an *inline code* fragment, the result of a calculation will be rendered, if it starts with the keyword \"return\". For example, `return 10 ** 6` will be rendered as 1000000.\r\n\r\nThe `console` functions are supported. The keyword, syntactic decorators, and output styles are configurable.\r\n\r\nThis extension can be combined with other markdown-it extensions. In particular, the rendered HTML can be saved using [Extensible Markdown](https://github.com/SAKryukov/vscode-extensible-markdown).\r\n\r\nOriginal publication: [https://sakryukov.github.io/publications/2021-04-01.Markdown-Calculator.html](https://sakryukov.github.io/publications/2021-04-01.Markdown-Calculator.html)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakryukov%2Fvscode-markdown-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakryukov%2Fvscode-markdown-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakryukov%2Fvscode-markdown-calculator/lists"}