{"id":14155610,"url":"https://github.com/instant-markdown/instant-markdown-d","last_synced_at":"2025-04-04T17:10:21.974Z","repository":{"id":2438936,"uuid":"3408804","full_name":"instant-markdown/instant-markdown-d","owner":"instant-markdown","description":"Small instant Markdown preview server","archived":false,"fork":false,"pushed_at":"2024-05-19T19:53:54.000Z","size":143,"stargazers_count":189,"open_issues_count":19,"forks_count":103,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-29T18:39:45.321Z","etag":null,"topics":["markdown","nodejs-server"],"latest_commit_sha":null,"homepage":"https://instant-markdown.github.io","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instant-markdown.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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},"funding":{"open_collective":"instant-markdown"}},"created_at":"2012-02-10T16:31:52.000Z","updated_at":"2024-10-28T20:40:50.000Z","dependencies_parsed_at":"2023-10-04T23:31:12.996Z","dependency_job_id":"dbd499bb-26f1-4c7f-86b9-b9508de04851","html_url":"https://github.com/instant-markdown/instant-markdown-d","commit_stats":{"total_commits":121,"total_committers":19,"mean_commits":6.368421052631579,"dds":0.768595041322314,"last_synced_commit":"ebaaba7f02ee2bc3439567f68bbb035c3167580a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-markdown%2Finstant-markdown-d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-markdown%2Finstant-markdown-d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-markdown%2Finstant-markdown-d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-markdown%2Finstant-markdown-d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instant-markdown","download_url":"https://codeload.github.com/instant-markdown/instant-markdown-d/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123095,"owners_count":20887261,"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":["markdown","nodejs-server"],"created_at":"2024-08-17T08:04:25.263Z","updated_at":"2025-04-04T17:10:21.957Z","avatar_url":"https://github.com/instant-markdown.png","language":"CSS","funding_links":["https://opencollective.com/instant-markdown","https://opencollective.com/instant-markdown/"],"categories":["markdown"],"sub_categories":[],"readme":"!nstant-markdown-d\n==================\n\n[![npm](https://img.shields.io/npm/v/instant-markdown-d)](https://www.npmjs.com/package/instant-markdown-d)\n[![Node.js](https://github.com/instant-markdown/instant-markdown-d/workflows/Node.js/badge.svg)](https://github.com/instant-markdown/instant-markdown-d/actions/workflows/nodejs.yml)\n[![open collective badge](https://opencollective.com/instant-markdown/tiers/backer/badge.svg?label=backer\u0026color=brightgreen)](https://opencollective.com/instant-markdown/)\n\ninstant-markdown-d is a small Node.js server that enables instant compilation\nand previewing of Markup files. A plugin can easily be written for any text\neditor to interface with it. One currently exists for Vim:\nhttps://github.com/instant-markdown/vim-instant-markdown\n\n\nInstallation\n------------\n\nInstall the mini-server by running either:\n\n    [sudo] npm -g install instant-markdown-d\n\nor ~~using yarn~~ (not recommended. See issue #86):\n\n    [sudo] yarn global add instant-markdown-d\n\nTo install from the bleeding edge development version, read the [contributing\nguide](CONTRIBUTING.md). See\n[vim-instant-markdown](https://github.com/instant-markdown/vim-instant-markdown)\nfor Vim / Neovim integration.\n\nREST API\n--------\n\n| Action                   | HTTP Method | Request URL               | Request Body                   |\n|--------------------------|-------------|---------------------------|--------------------------------|\n| Refresh Markdown on page | PUT         | http://localhost:\\\u003cport\\\u003e | \\\u003cNew Markdown file contents\\\u003e |\n| Close Webpage            | DELETE      | http://localhost:\\\u003cport\\\u003e |                                |\n\nBy default, `\u003cport\u003e` is 8090\n\nEnvironment variables\n---------------------\n\n* `INSTANT_MARKDOWN_OPEN_TO_THE_WORLD=1` - by default, the server only listens\n  on localhost. To make the server available to others in your network, set this\n  environment variable to a non-empty value. Only use this setting on trusted\n  networks!\n\n* `INSTANT_MARKDOWN_ALLOW_UNSAFE_CONTENT=1` - by default, scripts are blocked.\n  Use this preference to allow scripts.\n\n* `INSTANT_MARKDOWN_BLOCK_EXTERNAL=1` - by default, external resources such as\n  images, stylesheets, frames and plugins are *allowed*. Use this setting to\n  *block* such external content.\n\n* `INSTANT_MARKDOWN_MATHJAX_FONTS=\"/usr/share/mathjax/fonts/HTML-CSS/\"` - to\n  serve fonts for Mathjax from a local directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstant-markdown%2Finstant-markdown-d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstant-markdown%2Finstant-markdown-d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstant-markdown%2Finstant-markdown-d/lists"}