Hi all,
After looking for something like this, and not finding it, I took the liberty of creating this short script for my own use, and thought maybe it could be useful for others who have a similar workflow to mine. I use Sublime Text 3 to work on CSL files, and spend a lot of time in the terminal. Having a shell script that validates the file allows me to integrate it in this linter plugin I wrote for Sublime Text Linter (see here https://github.com/Marcool04/SublimeLinter-csl), or place it as a hook in version control, and generally just, at a glance, check that the CSL file is ok as I work on it in a terminal.
The actual workings of the script are exactly the same as https://validator.citationstyles.org/, only you don't need to switch to the browser, upload or copy paste your file etc. to see the results.
If you feel it could be helpful and is in the scope of this "utilities" repo maybe you would consider it for inclusion?
Thanks in any case for your work on CSL.
Best regards,
Mark.
Hi all, After looking for something like this, and not finding it, I took the liberty of creating this short script for my own use, and thought maybe it could be useful for others who have a similar workflow to mine. I use Sublime Text 3 to work on CSL files, and spend a lot of time in the terminal. Having a shell script that validates the file allows me to integrate it in this linter plugin I wrote for Sublime Text Linter (see here https://github.com/Marcool04/SublimeLinter-csl), or place it as a hook in version control, and generally just, at a glance, check that the CSL file is ok as I work on it in a terminal. The actual workings of the script are exactly the same as https://validator.citationstyles.org/, only you don't need to switch to the browser, upload or copy paste your file etc. to see the results. If you feel it could be helpful and is in the scope of this "utilities" repo maybe you would consider it for inclusion? Thanks in any case for your work on CSL. Best regards, Mark.