Files
James Panther 612cd8f8b4 🐛 Fix code blocks in RTL languages
Fixes #164
2022-05-01 11:17:30 +10:00

4 lines
154 B
JavaScript

window.addEventListener("DOMContentLoaded", (event) => {
document.querySelectorAll("pre, .highlight-wrapper").forEach((tag) => (tag.dir = "auto"));
});