CodeView icon indicating copy to clipboard operation
CodeView copied to clipboard

Indentation for html

Open m-anshuman2166 opened this issue 3 years ago • 1 comments

Describe the bug Hi AMR, I'm using your library in my production apps, it's nice so far.

Just got nailed in indenting html, i tried for indenting but it didn't work . Would you like to explain me how to do it correctly ?

m-anshuman2166 avatar May 03 '22 15:05 m-anshuman2166

Hello @m-anshuman2166,

The problem is that CodeView indentation implementation uses characters to set indent start and end, but in HTML the indentation is based on some tags (keywords) so to support it we need to modify out implementation and accept strings also maybe we can accept strings or char to support both, I will add this feature to TODO

Thanks Amr Hesham

AmrDeveloper avatar May 04 '22 10:05 AmrDeveloper