You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hogart I haven't found a need for this as it's quite edge-case. The current algorithm only strips out the smallest leading indent from each line and leaves regular indents untouched. I'll have to consult with some other algorithms and see what they do, but I do plan on adding a stripIndents tag which strips all indentation line-per-line. This feature addition will be coming after a refactor to the way the core of this module works, which I can't get around to doing just yet because of work, but I will as soon as I have some time, promise :)
Test case:
Output:
As you see,
line2.0
isn't de-indented. I'm not sure if it's expected behaviour. If so, how can I achieve desired effect? Thanks for nice lib!The text was updated successfully, but these errors were encountered: