Skip to content

Commit

Permalink
Merge pull request #60 from panoply/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
panoply authored Aug 3, 2023
2 parents 778de70 + 7c9ab30 commit 76c2b8b
Show file tree
Hide file tree
Showing 87 changed files with 5,161 additions and 1,709 deletions.
10 changes: 8 additions & 2 deletions docs/.eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const TOOLTIPS = {
'🙌': 'Authors choice',
'👍': 'Good choice.',
'👎': 'Not recommended',
'🤌': 'Delightful. Your mother is proud of you',
'😳': 'We live in a society, we\'re not animals',
'💡': 'Showing an example of the rule',
'🧐': 'You gotta do, what you gotta do'
Expand Down Expand Up @@ -346,6 +347,10 @@ function highlightCode(md, raw, language) {
language,
editor: false,
showSpace: false,
showTab: false,
showCR: false,
showLF: false,
showCRLF: false,
lineNumbers: false
})

Expand Down Expand Up @@ -573,7 +578,7 @@ function getWrapRuleExample (estheticRules, papyrusValue, rawInput) {
<div
style="width: ${rules.example.value}%"
class="wrap-line"
data-demo-target="wrap">
data-demo-target="wrapLine">
</div>
<div class="demo-input">
${output}
Expand Down Expand Up @@ -844,7 +849,8 @@ function codeblocks(md) {
data-demo-language-value="${language}"
data-demo-input-value="${input.trim()}"
data-demo-input-original-value="${input.trim()}"
data-demo-papyrus-value="${papyrusValue}">
data-demo-papyrus-value="${papyrusValue}"
spx-morph="children">
${template.trim()}
</div>`

Expand Down
18 changes: 9 additions & 9 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"papyrus": "workspace:^",
"qvp": "^0.3.2",
"relapse": "^0.5.0",
"spx": "0.1.0-beta.1",
"spx": "0.1.2-beta.1",
"stickybits": "^3.7.11"
},
"devDependencies": {
Expand All @@ -63,18 +63,18 @@
"concurrently": "^8.2.0",
"cssnano": "^6.0.1",
"eleventy-plugin-svg-sprite": "^2.4.0",
"esbuild": "^0.18.6",
"eslint": "^8.43.0",
"esbuild": "^0.18.17",
"eslint": "^8.46.0",
"language-literals": "^0.0.2",
"markdown-it": "^13.0.1",
"markdown-it-anchor": "^8.6.7",
"markdown-it-container": "^3.0.0",
"netlify-cli": "^15.6.0",
"postcss": "^8.4.24",
"netlify-cli": "^15.10.0",
"postcss": "^8.4.27",
"postcss-cli": "^10.1.0",
"prettier": "^2.8.8",
"sass": "^1.63.5",
"tsup": "^7.0.0",
"typescript": "^5.1.3"
"prettier": "^3.0.0",
"sass": "^1.64.2",
"tsup": "^7.1.0",
"typescript": "^5.1.6"
}
}
Loading

0 comments on commit 76c2b8b

Please sign in to comment.