@cosense-toolbox/tailwind 0.1.0-beta.2 → 0.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -8
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -93,14 +93,7 @@ class 名は `toHtml` の既定 (`classNames` を渡さなかったとき) に
93
93
  - 記号を並べると、それらをすべて持つ装飾に当たる。`cosense-deco-[-/]:` は `[-/ 文字]` など
94
94
  - 下線の記号 `_` は `cosense-deco-[\_]:` と書く。Tailwind は `[...]` の中の `_` を空白に変えるため
95
95
  - `"` は class 属性の中に書けないので使えない
96
- - パーサーが既定で装飾として読む記号は `*` `/` `-` `_` の 4 つだけ。`|` などほかの記号の装飾を使うときは、パースのときに [`customDecorations`](https://cosense-toolbox.qaynam.dev/parser/extend/) で記号を足す
97
-
98
- ```js
99
- // astro.config.mjs (@cosense-toolbox/astro)
100
- import { customDecorations } from "@cosense-toolbox/parser/extensions"
101
-
102
- cosense({ parseOptions: { extensions: [customDecorations(["|"])] } })
103
- ```
96
+ - パーサーは Cosense の文字装飾の記号 (`!"#%&'()*+,-./{|}<>_~=`) をすべて装飾として読む。見た目が付くのは `*` `/` `-` `_` だけなので、`|` などほかの記号の見た目はここで付ける
104
97
 
105
98
  ## 一部だけ外す
106
99
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosense-toolbox/tailwind",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0-beta.3",
4
4
  "description": "Tailwind CSS plugin: add class=\"cosense\" and the Cosense notation HTML inside it gets the default look.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "tailwindcss": ">=4.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@cosense-toolbox/parser": "0.1.0-beta.2",
45
+ "@cosense-toolbox/parser": "0.1.0-beta.3",
46
46
  "@tailwindcss/node": "^4.3.3",
47
47
  "effect": "^3.22.1",
48
48
  "postcss": "^8.5.28",
@@ -55,7 +55,6 @@
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",
58
- "tag": "beta",
59
58
  "registry": "https://registry.npmjs.org/"
60
59
  },
61
60
  "keywords": [