VS Code Extensions
HTML Format Code

HTML Format Code

by MohadesHadam

Type .format to quickly insert beautiful HTML/CSS code snippets. Boost your productivity with ready-made templates!

Downloads

191

Rating

— (0)

Version

0.3.0

Last updated

May 08, 2026

A simple and efficient VS Code extension that provides ready-made HTML/CSS code snippets for faster development.

Features

  • Type .format to insert a complete HTML page template with nav, hero, card, form, table, modal and footer
  • Type .format-html5 for HTML5 boilerplate
  • Type .format-nav for navigation bar
  • Type .format-form for form template
  • Type .format-table for table template
  • Type .format-card for card component
  • Type .format-hero for hero section
  • Type .format-footer for footer section
  • Type .format-grid for CSS Grid layout
  • Type .format-flex for Flexbox layout
  • Type .format-reset for CSS Reset
  • Type .format-modal for modal dialog
  • Type .format-responsive for responsive media queries

Usage

  1. Open any HTML, CSS, JS, or TS file
  2. Type .format and select from the suggestions
  3. The code snippet will be inserted instantly

You can also use Command Palette (Ctrl+Shift+P) and search for "Format Tool: Show All Snippets" to see all available snippets.

Supported Languages

HTML, CSS, SCSS, LESS, JavaScript, TypeScript, JSX, TSX, Vue, Svelte, PHP, Plaintext, Markdown

License

MIT

Related extensions