Skip to content

adereksisusanto/bootstrap5-snippets

Repository files navigation

Bootstrap 5 Snippets for Visual Studio Code

This Extensions provides the Bootstrap 5 snippets

Version

Visual Studio Marketplace Version

Documentation

Requirements

Bootstrap Version : 5.0

Install

Launch Code's command palette

ext install adereksisusanto.bootstrap5-snippets

Snippets

Starter template

Command :

b5-!

Output :

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link
      href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
      rel="stylesheet"
      integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl"
      crossorigin="anonymous"
    />
    <title>Bootstrap 5!</title>
  </head>
  <body>
    <h1>Bootstrap 5!</h1>

    <script
      src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
      integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0"
      crossorigin="anonymous"
    ></script>
  </body>
</html>

License & Download

GitHub license Visual Studio Marketplace Downloads

Enjoy!