From 921ef57449b311b9459d2f856e351ab142653e2d Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Fri, 25 Feb 2022 16:14:22 -0500 Subject: [PATCH] (chore) hljs.highlightAll(); --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b2ce26..ad82cf8 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If you're not using a build system and just want to embed this in your webpage: ``` @@ -26,7 +26,7 @@ var hljs = require('highlightjs'); var hljsDefineRpmSpecfile = require('highlightjs-rpm-specfile'); hljsDefineRpmSpecfile(hljs); -hljs.initHighlightingOnLoad(); +hljs.highlightAll(); ``` ### Advanced