kyoheiu / carbon

An opinionated online text editor, self-hosted & Git-powered.
https://carbon-demo.kyoheiu.dev/
24 stars 0 forks source link

A small suggestion #11

Open Kiris-tingna opened 6 days ago

Kiris-tingna commented 6 days ago

I use this to edit configure file in my homelab system. This is just a pretty light and clean software so I like it. I think blank <tab / space> should be distinguished on the frontend webpage. (config file are yaml or ini etc. )

kyoheiu commented 1 day ago

Thanks! It is now supported in v2.1.1. Please check it (tabsize = 2).

Kiris-tingna commented 13 hours ago

I have updated it, and now pressing the Tab key does insert two spaces. Great! However, I want to point out that the editor should visually display certain special characters (e.g., · for spaces and -> for tabs) so that I can easily verify if the configuration is correct when editing a config file.

kyoheiu commented 7 hours ago

Fair enough. Should this application only display the tab symbol on the editor page?