Skip to content

Commit

Permalink
feat: Export-4BitCss bold, italic, underline, strikethru ( Fixes #54, F…
Browse files Browse the repository at this point in the history
…ixes #55, Fixes #56, Fixes #57 )
  • Loading branch information
James Brundage committed Apr 20, 2024
1 parent fe5731c commit f4fc530
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Commands/Export-4BitCSS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,14 @@ if (-not $NoStyle) {
@"
.dim, .Dim { opacity: .5; }
.hidden, .Hidden { opacity: 0; }
b, bold, .bold, .Bold { font-weight: bold; }
.boldOff, .BoldOff { font-weight: normal; }
i, italic, .italic, .Italic { font-style: italic; }
.italicOff, .ItalicOff { font-style: normal; }
u, underline, .underline, .Underline { text-decoration: underline; }
.underlineOff, .UnderlineOff { text-decoration: none; }
s, strike, .strike, .Strike { text-decoration: line-through; }
.strikeOff, .StrikeOff { text-decoration: none; }
"@
}

Expand Down

0 comments on commit f4fc530

Please sign in to comment.