Recommended XML program for indenting CSL for Github
When I have uploaded CSL formats to GitHub I've noticed they usually get reformatted to look nicer, mainly modifying the indenting.
Is there a particular program or webpage you recommend for that? At one point I tried to reproduce the GitHub indenting style you tend to do for CSL formats using a few different free XML editors but without much luck.
Is there a particular program or webpage you recommend for that? At one point I tried to reproduce the GitHub indenting style you tend to do for CSL formats using a few different free XML editors but without much luck.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
For individual styles I usually use the jEdit text editor with its XML plugin.
Some other options: http://stackoverflow.com/questions/193728/free-xml-formatting-tool
http://www.freeformatter.com/xml-formatter.html#ad-output
set indentation to 2 and then remove the spaces before /> (i.e. search&replace " />" --> "/>"