đź’ˇ Feedback
Open
Restore previous functionality in Capacities to allow users to create code blocks for specific languages using a slash command.
In a previous version of Capacities, we could create a code block for a specific programming language by simply typing the language name preceded by a slash, such as "/kotlin" for a Kotlin code block or "/html" for an HTML code block. Currently, the process requires two steps: first, creating a code block with "/code," and then selecting the language from a filterable dropdown menu.
Is it possible to restore the previous functionality that allows users to create a code block by directly using the language name?
1 Comment
Sign in to comment

Henry (Capacities team here)
Code blocks for specific languages can now be auto-generated from the editor dropdown, but the old “/kotlin”, “/html”, etc. slash commands are not documented as available anymore. Based on current docs, this behavior is not supported right now: https://docs.capacities.io/reference/blocks#code-block. I’ve marked your request here so others can upvote and we can track interest in bringing this shortcut back.
This reply was written by the Capacities AI Assistant. Please note AI may make mistakes. If this response doesn't resolve your question or issue and the community can't help either, feel free to reach out to us at