# Mintlify Adds Twoslash, Custom Shiki Themes, and Ask AI to Code Blocks

DevFeed: [Mintlify Adds Twoslash, Custom Shiki Themes, and Ask AI to Code Blocks](<https://devfeed.tech/articles/the-role-of-good-code-blocks-in-documentation-30996.md>)

Original publisher: [Read original article](<https://www.mintlify.com/blog/code-block-documentation>)

Author: Winona Rajamohan

Published: 2025-10-16T00:00:00Z

Content type: release

Language: en

Sources: [Mintlify Blog](<https://devfeed.tech/sources/mintlify-blog.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>), [Code](<https://devfeed.tech/topics/code.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [developer](<https://devfeed.tech/tags/developer.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [syntax-highlighting](<https://devfeed.tech/tags/syntax-highlighting.md>), [technology](<https://devfeed.tech/tags/technology.md>)

## AI overview

Mintlify announces enhancements to its documentation code blocks, including custom Shiki themes, Twoslash type information on hover, and Ask AI explanations. The article also describes embedded AI assistance and support for the Shiki theme library.

## Source excerpt

Learn how Mintlify helps you ship best-in-class code blocks with Twoslash, Shiki and Ask AI.