Skip to content

Commit

Permalink
feat: Export-4bitCSS - HighlightJS support ( Fixes #102, Fixes #103, F…
Browse files Browse the repository at this point in the history
…ixes #105 )

Fixing iterator
  • Loading branch information
James Brundage committed Oct 26, 2024
1 parent 6020da5 commit 823c16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Commands/Export-4BitCSS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,9 @@ foreach ($subproperty in 'Formatting', 'Progress') {
}

if ((-not $NoHighlight) -and $HighlightStyle.Count) {
"/* highlight.js styles */"
foreach ($keyValuePair in $HighlightStyle) {
foreach ($key in $HighlightStyle.Key) {
foreach ($key in $HighlightStyle.Keys) {
$cssProperties = $HighlightStyle[$key]
$cssProperties = if ($cssProperties -is [Collections.IDictionary]) {
foreach ($cssKeyValue in $cssProperties.GetEnumerator()) {
Expand Down

0 comments on commit 823c16f

Please sign in to comment.