Closed nickminutello closed 1 year ago
I'm glad you find this repository helpful. I'll try to address your issue ASAP. You can watch the repo for new changes or star it.
Sorry, currently, there is no feature which can help you
Is it something that could be added ? (e.g. if more than n attributes, stack vertically)
You can use attributeValueProcessor
to stack the values of all the attributes. But you can't skip other attributes. Probably I can think about a feature to introduce skipAttribute
function. And then a event like onTagClose
to add new attribute.
But it will take time. If you want to work you can raise PR. It'll be easy.
updateTag
option is added to the parser v4.2 to change attributes. Check solothought post for detail example.
When an xml element has many attributes, the current
format:true
produces an exceedingly long line.Is it possible to produce something like this:
Many thanks