Repository navigation
Add Italic each line SE5 plugin - #309
Merged
Merged
Conversation
Port of the SE4 ItalicEachLine plugin. Converts italic tags both ways: one tag pair per subtitle <-> a tag pair on each line. Mode cards with per-mode change counts, all/selected scope, tags or rendered preview, checkable before/after cards. Works on request paragraphs (keeps ASSA fields), SubRip fallback for older SE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the SE4 ItalicEachLine plugin (3.1k downloads) to SE5 and adds the reverse direction.
Converts either way
<i>A/B</i>→<i>A</i>/<i>B</i>. Also works mid-line (He said <i>never/again</i>, and left.), keeps inner<b>/<u>/<font>properly nested, leaves blank lines untagged, keeps{\an8}in place.</i>+ line break +<i>seams (blank lines between are allowed).UI (Avalonia + Material Design icons, follows the SE theme)
Works on
Subtitle.Paragraphsso ASSA styles/actors etc. survive; falls back to SubRip for older SE.Tests: 35 xunit tests (converter both ways, round trips, view model scope/response/legacy). Also checked the window by rendering it headless (light + dark, rendered view, empty state).
Workflow:
italic-each-line.yml, the same as the other plugins (test → 6 self-contained builds → release on dispatch).After merge: run the workflow with release, then add the plugin to
se5-plugins.jsonand to the README table.🤖 Generated with Claude Code