Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a csl-validator.sh bash script to validate against https://validator.w3.org/nu/ #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Marcool04
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant