From 7371357abc129e21b6a63f53fbc42480ada20434 Mon Sep 17 00:00:00 2001 From: Andrew Heiss Date: Mon, 3 Jun 2024 21:05:46 -0400 Subject: [PATCH] Remove old leftover commented-out code --- _extensions/wordcount/wordcount.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/_extensions/wordcount/wordcount.lua b/_extensions/wordcount/wordcount.lua index b5caeff..ab5a1cb 100644 --- a/_extensions/wordcount/wordcount.lua +++ b/_extensions/wordcount/wordcount.lua @@ -238,13 +238,6 @@ body_count = { end } --- if count_code_blocks then --- body_count.CodeBlock = function(el) --- _,n = el.text:gsub("%S+","") --- body_words = body_words + n --- end --- end - ref_count = { Str = function(el) -- we don't count a word if it's entirely punctuation: