mirror of
https://github.com/cliffe/HacktivityLabSheets.git
synced 2026-02-21 11:18:09 +00:00
Update lab sheets and enhance highlighting functionality
- Modified permalink structure in the configuration to include category in lab URLs. - Added author and license metadata to lab sheets for better attribution and clarity. - Introduced a comprehensive highlighting guide for AI assistants to standardize lab sheet formatting. - Enhanced JavaScript functionality to support multiple highlight types and improved table of contents generation. - Updated styles for various highlight types to improve visual distinction in lab content. - Added a new logo for branding consistency across the site.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
# Jekyll plugin to support ==highlight== syntax
|
||||
module Jekyll
|
||||
module HighlightFilter
|
||||
def highlight_text(input)
|
||||
return input if input.nil?
|
||||
# Convert ==text== to <mark>text</mark>
|
||||
input.gsub(/==([^=]+)==/, '<mark>\1</mark>')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Liquid::Template.register_filter(Jekyll::HighlightFilter)
|
||||
Reference in New Issue
Block a user