Steps to reproduce
- Create a file index.html with the following content:
<b>b</b><br>
<strong>strong</strong><br>
<span style="font-weight: 699;">699</span><br>
<span style="font-weight: 700;">700</span><br>
<span style="font-weight: bold;">bold</span><br>
<span style="font-weight: bolder;">bolder</span><br>
- Open index.html in a browser (I used Chrome). Copy the content. Paste it to Obsidian.
Note: the MWE was inspired by an actual website using span class with style > font-weight: 700. The example is simply a more compact version of it.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Pasted content in bold except 699:
b
strong
699
700
bold
bolder
b
strong
699
700
bold
bolder
In other words, it should detect bold for font-weight 700 or more, and for “bold” (as well as “bolder” here, but technically it depends on the context).
This is what Typora does: it showed everything in bold, except 699, so they probably follow the convention that text starts getting bold at 700, which sounds good since 700 = bold in style standard (as long as devs won’t play putting values like 600 to disturb us).
Actual result
Obsidian will show this:
b
strong
699
700
bold
bolder
or the equivalent raw:
**b**
**strong**
699
700
bold
bolder
Environment
SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.4.13
Operating system: #126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 2024 5.15.0-116-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none