{"repo":"g-plane/markup_fmt","free":true,"listed":false,"github":"https://github.com/g-plane/markup_fmt","clone":"git clone https://github.com/g-plane/markup_fmt.git","description":"Configurable HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, Vento, Mustache, Handlebars and XML formatter with dprint integration.","language":"Rust","stars":181,"topics":["dprint","formatter","formatting","html","prettier","svelte","vue","dprint-plugin","astro","jinja"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"markup fmt markup fmt is a configurable HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, Vento, Mustache, Handlebars and XML formatter. Notes for Vue and Svelte Users This formatter provides some options such as vBindStyle , vOnStyle and more for Vue and svelteAttrShorthand and svelteDirectiveShorthand for Svelte. It's recommended to enable these options in this formatter and disable the corresponding rules in eslint-plugin-vue and eslint-plugin-svelte if you used. This will make ESLint faster because less rules will be executed. Getting Started dprint We've provided dprint integration. This plugin only formats HTML syntax of your HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, Vento, Mustache, Handlebars and XML files. You also need other dprint plugins to format the code in and tags. You can use dprint-plugin-typescript to format TypeScript/JavaScript code and Malva to format CSS/SCSS/Sass/Less code. Run the commands below to add plugins: If you also want to format JSON in tag whose \"type\" is \"importmap\" , \"application/json\" , or \"application/ld+json\" , you can add dprint-plugin-json: If you want to format Jinja, it's recommended to add Pretty Jinja dprint plugin as well. After adding the dprint plugins, update your dprint.json and add configuration: You can also read dprint CLI documentation for using dprint to format files. Use as a Rust crate Please read the documentation. Configuration Please refer to Configuration. Credit Tests come from: - Prettier ","default_branch":null,"files":null,"tree":[],"storefront":"/r/g-plane","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/g-plane/markup_fmt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}