{"id":13715961,"url":"https://github.com/quarto-dev/quarto-emacs","last_synced_at":"2025-04-16T01:09:20.011Z","repository":{"id":38819196,"uuid":"457421531","full_name":"quarto-dev/quarto-emacs","owner":"quarto-dev","description":"An emacs mode for quarto: https://quarto.org","archived":false,"fork":false,"pushed_at":"2024-01-05T11:11:43.000Z","size":98,"stargazers_count":139,"open_issues_count":14,"forks_count":15,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-16T01:07:50.619Z","etag":null,"topics":["emacs","markdown","quarto"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quarto-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-09T15:42:17.000Z","updated_at":"2025-04-06T20:27:38.000Z","dependencies_parsed_at":"2024-01-05T23:44:58.035Z","dependency_job_id":"45196f56-eefc-459b-9344-4643f2f2a731","html_url":"https://github.com/quarto-dev/quarto-emacs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarto-dev%2Fquarto-emacs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarto-dev%2Fquarto-emacs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarto-dev%2Fquarto-emacs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarto-dev%2Fquarto-emacs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quarto-dev","download_url":"https://codeload.github.com/quarto-dev/quarto-emacs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249178212,"owners_count":21225349,"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":["emacs","markdown","quarto"],"created_at":"2024-08-03T00:01:05.523Z","updated_at":"2025-04-16T01:09:19.891Z","avatar_url":"https://github.com/quarto-dev.png","language":"Emacs Lisp","readme":"# An emacs mode for quarto\n\n`Quarto-mode` is an emacs mode for editing [quarto](https://quarto.org) documents.\n\n## Installing\n\n`quarto-mode` is available on MELPA. From emacs,\n\n```\nM-x package-refresh-contents\nM-x package-install\n  quarto-mode\n```\n\n### Using `quarto-mode`\n\nAdd this to your `.emacs` or `~/.emacs.d/init.el` file:\n\n```elisp\n;; load the library\n(require 'quarto-mode)\n```\n\nThe `quarto-mode` package will associate a quarto [polymode](https://github.com/polymode/polymode) to `.qmd` files.\nThat means that there isn't an actual `quarto-mode` mode. \nIf you want to associate other files to the quarto polymode, you should use `poly-quarto-mode`, such as:\n\n```elisp\n;; Note that the following is not necessary to run quarto-mode in .qmd files! It's merely illustrating\n;; how to associate different extensions to the mode.\n(add-to-list 'auto-mode-alist '(\"\\\\.Rmd\\\\'\" . poly-quarto-mode))\n\n;; Or, with use-package:\n(use-package quarto-mode\n  :mode ((\"\\\\.Rmd\" . poly-quarto-mode))\n  )\n```\n\n### Dependencies\n\nQuarto-mode requires the following packages to be installed:\n\n- `(polymode \"0.2.2\")`\n- `(poly-markdown \"0.2.2\")`\n- `(markdown-mode \"2.3\")`\n- `(request \"0.3.2\")`\n\n### quarto-mode + ESS\n\nIf you have [ESS](https://ess.r-project.org/), `quarto-mode` will use it. Otherwise, it won't. Specifically, `quarto-mode` does not depend on ESS (or R), which means that if you want to use those features, you have to install ESS separately.\n\n# Features\n\n- `M-x quarto-preview`. Start a `quarto preview` server. If the current buffer has an associated file that exists in a quarto project, the command will preview the entire project. Otherwise, it will preview the specific file.\n- Integration with poly-markdown's compilation. The default poly-markdown configuration runs plain `pandoc` on the document; `quarto-mode` uses `quarto render`.\n\n## Differences in behavior between quarto-mode and markdown-mode\n\n* `C-c C-c *` behavior\n\n  `quarto-mode` uses features specific to quarto that make it behave\n  differently from what `markdown-mode` users might expect. By\n  default, `quarto-mode` uses `quarto preview`, which works through a\n  custom web server, and does not produce disk output upon\n  preview. `quarto preview` is significantly faster than rerendering\n  entire files in interactive mode, so we encourage you to use it.\n  \n  However, if you wish to not use `quarto preview` and instead depend\n  on the typical rendering mode of previewing, you can restore the\n  standard `markdown-mode` behavior by changing the\n  `quarto-force-preview` customization variable.\n","funding_links":[],"categories":["Supported editors"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquarto-dev%2Fquarto-emacs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquarto-dev%2Fquarto-emacs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquarto-dev%2Fquarto-emacs/lists"}