表が変なのは枠の整形を全角スペースでやっているためだと思います。記事はMarkdownという書式で動作していますが、半角スペースしか空白とは認識せず、日本語の全角スペースは普通の文字と同じだとみなされます。なので例えば
| 人称 | 語末 | 語中 |
というのは実質
|〇〇人称〇〇|〇〇語末〇〇|〇〇語中〇〇|
のように連続して文字が書かれているのと変わらない扱いを受けます。意味のない空白を入れたい場合は、下のように間を全部半角スペースで挿入してください(見た目はあまり変わらないかもしれませんが、選択するとわかります)。
今、本来の書式を使って表の文字揃えができないことに気づき、Migdal だけの問題ではないようなので、バグ報告をしました。 本当は、
| Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat | $1 |
このように書くと
このように表示されないといけないのですが、現状はそれができていないようです。解決までしばらく時間がかかるかもしれませんが、ご了承ください。
Describe the bug
I noticed that the table alignment feature does not work on Forem (neither on forem.dev).
To Reproduce
bin/startup
Expected behavior
Taken from github.com/adam-p/markdown-here/wi..., which is linked from the Markdown guide of editor UI.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
ひとまず満足できる形にすることができました。いつもありがとうございます。
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
創作言語・創作世界が好きな人あつまれ!
表が変なのは枠の整形を全角スペースでやっているためだと思います。記事はMarkdownという書式で動作していますが、半角スペースしか空白とは認識せず、日本語の全角スペースは普通の文字と同じだとみなされます。なので例えば
というのは実質
のように連続して文字が書かれているのと変わらない扱いを受けます。意味のない空白を入れたい場合は、下のように間を全部半角スペースで挿入してください(見た目はあまり変わらないかもしれませんが、選択するとわかります)。
今、本来の書式を使って表の文字揃えができないことに気づき、Migdal だけの問題ではないようなので、バグ報告をしました。
本当は、
このように書くと
このように表示されないといけないのですが、現状はそれができていないようです。解決までしばらく時間がかかるかもしれませんが、ご了承ください。
Describe the bug
I noticed that the table alignment feature does not work on Forem (neither on forem.dev).
To Reproduce
bin/startupExpected behavior
Taken from github.com/adam-p/markdown-here/wi..., which is linked from the Markdown guide of editor UI.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
ひとまず満足できる形にすることができました。いつもありがとうございます。