Skip to content

Releases

0.3.6

Choose a tag to compare

@github-actions github-actions released this 30 Oct 04:41

Punctuation coverage.

Rendering already handled every punctuation mark (the relaxed closing-boundary rule does not depend on a character table), but the optional rewrite did not: curly quotes, ellipsis, dashes and the middle dot were left inside the markers.

  • Extended the punctuation table: U+00B7, U+2010-2027, U+2030-205E, U+3003, U+301C-301F
  • Added a test covering 27 punctuation marks for both rendering and rewriting

0.3.5

Choose a tag to compare

@github-actions github-actions released this 30 Oct 03:04

Works with any theme.

  • Styled spans carry Obsidian's own emphasis classes (cm-strong, cm-em, cm-highlight, cm-strikethrough), so each theme decides the bold colour, weight and highlight background
  • Removed the plugin's own font rules that overrode theme weights
  • The over-styled tail is reset with a doubled selector covering colour, weight, style, background, underline and shadow, using Obsidian's core variables
  • Still no note text is ever modified

0.3.4

Choose a tag to compare

@github-actions github-actions released this 30 Oct 03:02

The plugin never modifies your notes.

Reverts the save-time rewriting introduced in 0.3.3. Everything now happens at the view layer:

  • Styled spans reuse Obsidian's own emphasis classes, so your theme's bold colour and weight apply as usual
  • When Obsidian pairs a closing delimiter with a later one and styles the rest of the paragraph, that excess is reset to plain text using the theme's --text-normal variable
  • The bundle contains no vault access at all, only saveData for plugin settings
  • The Fix CJK emphasis command remains opt-in for cases where you do want the markup rewritten

0.3.3

Choose a tag to compare

@github-actions github-actions released this 30 Oct 03:00

Normalises the markup instead of overriding theme styles.

A plugin cannot replace Obsidian's parser, and overwriting the resulting styles fights the theme (bold colour, highlight background). This release fixes the markup itself:

  • The active note is normalised after you stop typing, so **text。**next becomes **text**。next
  • Obsidian then parses the line normally and themes style exactly the marked span
  • Reuses Obsidian's own emphasis classes instead of inventing styling
  • New setting: Normalise markup when saving (on by default)

0.3.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 02:51

Fixes emphasis that Obsidian over-applies.

  • When the editor pairs the closing delimiter with a later one and styles the rest of the paragraph, the plugin now restores the over-styled tail to normal weight
  • Only the span you marked stays bold, italic, highlighted, or struck through
  • Covers *, **, ***, ==, and ~~

0.3.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 04:28

Clears the last review warning.

  • Adds declarative settings via getSettingDefinitions() for Obsidian 1.13+, so the settings appear in settings search; display() is kept for older versions
  • Settings descriptions now list every supported format: bold, italic, bold+italic, highlight, strikethrough
  • No behavior change on Obsidian 1.5 through 1.12

0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 04:15

Fixes the automated review findings.

  • Replace getLanguage() with moment.locale(), an older API that matches the declared minAppVersion
  • Narrow loadData() before merging settings
  • Build and publish through GitHub Actions with artifact attestations
  • Release assets are main.js and manifest.json only

0.2.0

Choose a tag to compare

@JiayuREN1127 JiayuREN1127 released this 29 Oct 03:50

Adds highlight and strikethrough support.

  • ==text。==next and ~~text。~~next fail for the same reason as bold: their parsers apply the same delimiter flanking rules
  • Live Preview now renders highlight and strikethrough next to CJK punctuation
  • Source fix command rewrites ==text。==next into ==text==。next as well
  • Setext heading underlines (===) are not mistaken for highlight

0.1.0

Choose a tag to compare

@JiayuREN1127 JiayuREN1127 released this 29 Oct 02:45

Initial release.

  • Live Preview: renders bold, italic, and bold+italic next to CJK punctuation instead of showing literal asterisks
  • Command: rewrites **text。**next into **text**。next so emphasis survives export and other Markdown editors
  • Settings: toggle the editor fix, control marker visibility, run the source fix
  • Skips inline code, $$math$$, and fenced code blocks
  • Mobile-safe: no regex lookbehind