---
title: "Code Blocks | No Name Studio"
description: "A showcase of code blocks variants."
canonical_url: "https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks"
meta:
  author: "No Name Studio"
  keywords: "No Name Studio, software development, web development, SaaS, digital products, freelance developers, Vietnam"
  "og:description": "A showcase of code blocks variants."
  "og:image": "https://nnsvn.me/pwa-512x512.png"
  "og:title": "Code Blocks"
  "twitter:description": "A showcase of code blocks variants."
  "twitter:image": "https://nnsvn.me/pwa-512x512.png"
  "twitter:title": "Code Blocks"
---

> Index of every page on this site: [llms.txt](https://nnsvn.me/llms.txt)

Trang này chưa có bản dịch Tiếng Việt. Bạn đang xem bản gốc (English).

# **Code Blocks**

## Usage

### With Title

### Highlight Lines

### Line Numbers

### Fixed Height

### Collapse Code

### Custom Icon

### Transformers

****Remove the **`\`** in the notions to enable the transformers.****

e.g. `// [\!code --]` to `// [!code --]`

#### Diff

#### Error level

#### Focus

## Inline Code

`code inline`

`const codeInline: string = 'highlighted code inline'`

[Phản ánh vấn đề](https://github.com/No-Name-Studio-VN/Homepage/issues/new/choose)· [Chỉnh sửa trang này](https://github.com/No-Name-Studio-VN/Homepage/edit/main/content/1.products/1.nuxt-starter-kit/2.components/1.prose/2.code-blocks.md)

```json
{"@context":"https://schema.org","@type":"Article","headline":"Code Blocks","description":"A showcase of code blocks variants.","url":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks","mainEntityOfPage":{"@type":"WebPage","@id":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks"},"publisher":{"@type":"Organization","name":"No Name Studio"}}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Products","item":"https://nnsvn.me/vi/products/nuxt-starter-kit/getting-started/introduction"},{"@type":"ListItem","position":2,"name":"Nuxt Starter Kit","item":"https://nnsvn.me/vi/products/nuxt-starter-kit/getting-started/introduction"},{"@type":"ListItem","position":3,"name":"Components","item":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/markdown"},{"@type":"ListItem","position":4,"name":"Prose","item":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/markdown"},{"@type":"ListItem","position":5,"name":"Code Blocks","item":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks"}]}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://nnsvn.me/vi#website","@type":"WebSite","description":"No Name Studio is a freelance software team building production-grade web applications, SaaS platforms, and digital products for startups and enterprises.","inLanguage":"vi","name":"No Name Studio","url":"https://nnsvn.me/vi","publisher":{"@id":"https://nnsvn.me/#identity"},"translationOfWork":{"@id":"https://nnsvn.me/#website"}},{"@id":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks#webpage","@type":"WebPage","description":"A showcase of code blocks variants.","name":"Code Blocks","url":"https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks","isPartOf":{"@id":"https://nnsvn.me/vi#website"},"potentialAction":[{"@type":"ReadAction","target":["https://nnsvn.me/vi/products/nuxt-starter-kit/components/prose/code-blocks"]}]},{"@id":"https://nnsvn.me/#identity","@type":"Organization","name":"No Name Studio","url":"https://nnsvn.me"}]}
```

## Sitemap

See the full [sitemap](https://nnsvn.me/sitemap.md) for all pages.
