Skip to content

docs fixes #9

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

Merged
merged 1 commit into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Check spelling'
name: "Check spelling"
on:
push:
branches: [main]
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lockfile-version = 3
registry = 'https://registry.npmjs.org/'
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.html
*.min.*
*.js
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

56 changes: 28 additions & 28 deletions docs/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,52 @@ body {
margin: 20px 0;
}

.muted span{
.muted span {
font-size: 12px;
}

#editor-title{
padding:20px 0;
#editor-title {
padding: 20px 0;
}

#editor-toolbar{
float:right;
#editor-toolbar {
float: right;
}

#editor{
border:1px solid #ccc;
border-radius: 4px;
height:300px;
#editor {
border: 1px solid #ccc;
border-radius: 4px;
height: 300px;
}

#stat-bar{
padding:10px 0;
#stat-bar {
padding: 10px 0;
}

#button-area{
float:right;
padding:0 10px;
display:none;
#button-area {
float: right;
padding: 0 10px;
display: none;
}

.footer{
text-align:center;
.footer {
text-align: center;
}

#options{
padding:20px;
#options {
padding: 20px;
}

#options h3{
font-size: 18px;
#options h3 {
font-size: 18px;
}

#options ul{
list-style: none;
margin: 0;
#options ul {
list-style: none;
margin: 0;
}

#options li div{
display:none;
padding-left:20px;
}
#options li div {
display: none;
padding-left: 20px;
}
4 changes: 3 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
<title>HTMLHint - The Static Code Analysis Tool you need for your HTML</title>
<meta name="description" content="HTMLHint - The Static Code Analysis Tool you need for your HTML">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<meta name="color-scheme" content="light"/>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">
<link rel="canonical" href="https://playground.htmlhint.com/">
<meta name="fediverse:creator" content="@htmlhint@mastodon.social">

Check warning on line 13 in docs/index.html

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (fediverse) Suggestions: (fevers)
<script defer data-domain="playground.htmlhint.com" src="https://plausible.io/js/script.hash.outbound-links.pageview-props.tagged-events.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
</head>
Expand Down Expand Up @@ -159,7 +161,7 @@
</div>
</main>
<hr>
<footer>
<footer class="small text-center opacity-75">
<p>&copy; HTMLHint.com 2014-2021</p>
</footer>
</div>
Expand Down
8 changes: 8 additions & 0 deletions docs/js/htmlhint.min.js

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "htmlhint-playground",
"version": "1.0.0",
"private": true,
"description": "",
"description": "HTMLHint Playground",
"homepage": "https://htmlhint-playground.netlify.app/",
"bugs": {
"url": "https://github.com/htmlhint/htmlhint-playground/issues"
Expand All @@ -11,17 +11,22 @@
"type": "git",
"url": "https://github.com/htmlhint/htmlhint-playground.git"
},
"funding": {
"type": "Open Collective",
"url": "https://opencollective.com/htmlhint"
},
"license": "MIT",
"author": "HTMLHint",
"scripts": {
"htmlhint": "npx htmlhint .",
"pa11y-ci": "npx pa11y-ci https://htmlhint-playground.netlify.app/",
"prettier": "npx prettier --write .",
"serve": "npx http-server -o docs/index.html -p 8080 -c-1"
},
"engines": {
"node": ">=20"
"node": ">=22.16.0"
},
"volta": {
"node": "20.19.1"
"node": "22.16.0"
}
}
Loading