Skip to content

Commit

Permalink
Revert "Include prismJS to highlight code in the READMEs (#819)"
Browse files Browse the repository at this point in the history
This reverts commit 742a582.
  • Loading branch information
tchoutri committed Jan 12, 2025
1 parent 6102ac8 commit 6561858
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 21,858 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ style-hs: ## Run the haskell code formatters (fourmolu, cabal-fmt)
@find app test src -name '*.hs' | xargs -P $(PROCS) -I {} fourmolu -q -i {}

style-css: ## Run the CSS code formatter (stylelint)
@cd assets ; yarn stylelint --fix css --ignore-path .stylelintignore
@cd assets ; yarn stylelint --fix css

style: style-hs style-css ## Run all the code formatters

Expand Down
1 change: 0 additions & 1 deletion assets/.stylelintignore

This file was deleted.

144 changes: 0 additions & 144 deletions assets/css/prism.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
@import "4-helpers/3-spacing.css";
@import "4-helpers/4-typography.css";
@import "4-helpers/5-state.css";
@import "prism.css";

/* Used for the sessions page */
.login-form {
Expand Down
4 changes: 1 addition & 3 deletions assets/esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ const mkProdPlugins = () => {
console.log(assets);
const orderAssets = {
"app.js": assets.app.js,
"styles.css": assets[''].css[0],
"prism.js": assets.prism.js,
"styles.css": assets[''].css[0]
}
return JSON.stringify(orderAssets, null, " ");
}
Expand Down Expand Up @@ -71,7 +70,6 @@ const config = {
entryPoints: {
"app": "./js/app.js",
"styles": "./css/styles.css",
"prism": "./js/prism.js",
},
outdir: "../static",
bundle: true,
Expand Down
Loading

0 comments on commit 6561858

Please sign in to comment.