Automattic / Automattic/simplenote-macos

Using formatting in note title results in expected rendering

Open
#1,089 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

Using formatting in the title of a note results in expected rendering: the font is downsized compared to the rest of the title, and inconsistent with how the iOS client behaves.

### Expected

I expected that applying formatting (bold, italic, etc) to the title of a note, would make that text **bold**, *italic*, etc without otherwise affecting the font size.

For example, here is how GitHub renders such formatting:

this markdown:

```
# foo **bar** *baz* bug
```

outputs:

image

### Observed

I observed that applying formatting (bold, italic, etc) to the title of a note, shrinks the size of the text to normal paragraph size, even though it is within the note title.

Screen Shot 2023-03-27 at 5 41 35 PM

### Reproduced

It is 100% reproducible.

***(Optional)*** If you reproduced the bug on a specific system, please replace SYSTEM_MAKE, SYSTEM_MODEL, MACOS_VERSION, and APP_VERSION below with the details for that system. If you reproduced the bug on multiple systems, please add a row for each system.

Make|Model|macOS Version|App Version
-|-|-|-
MacBookPro|MacBookPro13,3|12.6.3|2.17

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. Start by locating the macOS note-title rendering path and reproduce the formatting case from the report; done means bold, italic, and similar formatting preserve the title's font size while retaining the requested styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.