使用例
Make a CSS custom-property name from a design token
The result can be prefixed with -- when used as a CSS custom property.
入力
PrimaryAccentColorExpected answer
primary-accent-color- コンテキストを意識して試みる
Off
Turn an acronym-bearing document title into a slug
Acronyms become lowercase words separated by hyphens.
入力
JSON API ReferenceExpected answer
json-api-reference- コンテキストを意識して試みる
Off
Normalize repeated separators in a release label
Repeated spaces, underscores and hyphens become single boundaries.
入力
Release__Notes---2026 Expected answer
release-notes-2026- コンテキストを意識して試みる
Off
Convert an accented article title into an ASCII slug
Accent removal is useful for this slug; it does not preserve the original spelling.
入力
Crème brûlée recipeExpected answer
creme-brulee-recipe- コンテキストを意識して試みる
Off
Transform separate tokens while retaining a quoted label
The output is a text transformation, not automatically valid source code.
入力
backgroundColor: "Keep_This"; fontSize: 16;Expected answer
background-color: "Keep_This"; font-size: 16;- コンテキストを意識して試みる
On
To Kebab case (dumb)
入力
hello worldExpected answer
hello-world- コンテキストを意識して試みる
Off
To Kebab case (smart)
入力
test='hello'
echo $test
aKebabCaseFunction
$aKebabCaseVariable;
function functionName() {
console.log('things inside quotes do not get broken');
console.log("things inside quotes do not get broken");
}Expected answer
test='hello'
echo $test
a-kebab-case-function
$a-kebab-case-variable;
function function-name() {
console.log('things inside quotes do not get broken');
console.log("things inside quotes do not get broken");
}- コンテキストを意識して試みる
On
パラメーター
| パラメーター | 既定値 | 入力と選択肢 |
|---|---|---|
| コンテキストを意識して試みる | false | オンまたはオフ |