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

Code folding to theme #36

merged 1 commit into from Dec 25, 2018


None yet
1 participant
Copy link

statnmap commented Dec 25, 2018

Add code folding to theme

  • Activate in "config.toml" for the entire website or locally for each blog post
  • Custom list of pre blocks that can be folded in "config.toml"
  • Buttons translated
Add code folding to theme with documentation
- Had to move call to jquery in header
- codefolding.js in HTML page to allow custom list of blocks and

	modifié :
	modifié :         exampleSite/config.toml
	modifié :         i18n/en.toml
	modifié :         i18n/fr.toml
	modifié :         i18n/pl.toml
	nouveau fichier : layouts/partials/code-folding.html
	modifié :         layouts/partials/footer.html
	modifié :         layouts/partials/header.html
	nouveau fichier : layouts/partials/header_maincodefolding.html
	modifié :         layouts/post/content-single.html
	modifié :         static/css/main.css
	nouveau fichier : static/js/codefolding.js
	nouveau fichier : static/js/collapse.js
	nouveau fichier : static/js/dropdown.js
	nouveau fichier : static/js/transition.js

@statnmap statnmap merged commit 8061a87 into master Dec 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment