Skip to main content
RMPitcher
April 26, 2023
Question

Code formatting in Secure Notes markdown not working

  • April 26, 2023
  • 10 replies
  • 832 views

I've recently discovered that the code or monospace formatting for secure notes isn't working properly. The inline backtick formatting seems to work in the iOS app, but not the Windows 11 app (8.10.5). The four-space indented block doesn't work on either platform.

This is what it looks like in the Windows app

This is what it looks like in the iOS app (8.10.4)

Not a huge deal but I would like use monospaced text quite a lot in my notes so it would be great to have it working. Thanks!

Russ

P.S. This is the markdown code I've tested with:

```

Heading 1

Heading 2

Heading 3

Bold

Italic or Italic

Strikethrough


  • List list asterisk

  • List hypen

  • List plus

  1. Numbered list
  2. List item

Quotation

This should be inline code

This should be 
formatted as
indented code

END: Markdown test
```


1Password Version: 8.10.5
Extension Version: Not Provided
OS Version: Windows 11 21H2
Browser:_ Not Provided

10 replies

1P_Gem
1Password Employee
April 27, 2023

Hi @RMPitcher! This is a known issue at the moment, and I've added your case to the issue on file. Thanks for taking the time to report this to us! 😄

ref: dev/core/core#2742

June 10, 2023

I just noticed this too and was about to create a new topic when I stumbled upon this thread. I have a lot of code sections in my notes, so it would be nice to have those formatted correctly.

1P_Gem
1Password Employee
June 12, 2023

Hi @Backspaze, thanks for letting us know that you've encountered this issue as well. I've added you to the list of affected users in the issue on file.

While I don't have any updates to share at the moment, you can keep an eye on our releases page for news on any bugfixes and new features: 1Password Releases

Let us know if you have any further questions or concerns 😄

ref: dev/core/core#15518

June 12, 2023

Shouldn't the below have 3 backticks before and after it?

This should be 
formatted as
indented code

as

[backtick 3 times here]
This should be
formatted as
indented code
[backtick 3 times here]

July 1, 2023

Hi @Harag! Yes, that is one one way. In 1Password's Markdown support in Secure Notes, blocks of code can be formatted by enclosing them with lines containing 3 backticks:


```
def hello
puts "Hello"
end
```

But you can also indent your code with 4 spaces:


def hello
puts "Hello"
end

Finally, inline code can be enclosed in single backticks.

Anyway, +1 👍 For me, methods #2 and #3 aren't working in 1Password for Mac 8.10.8 (81008045).




*The source of this post is more complicated because I'm meta-wrapping my code blocks in code blocks using Markdown itself. This community forum's Markdown renderer is not the same as the one used in 1Password; the acknowledgements mention https://github.com/raphlinus/pulldown-cmark, which implements a smaller subset of Markdown called https://commonmark.org/, which is focused on being well-specified and well-tested, presumably as a security precaution.

July 1, 2023

@chrisdj Thanks for confirming that, Much appreciated.

July 2, 2023

Hi. I also recently noticed that my inline code formatted Markdown (using backticks) wasn't being rendered as distinct from regular text in the 1Password app on Windows 10. I was going to create a new ticket, but see that others already beat me to it. Just adding that I'd also appreciate seeing this fixed. Thanks!

ag_mike_d
1Password Employee
July 5, 2023

@prlcutting - Thanks for your your additional report. I've included your details for our Development team. 👍

1Password Employee
July 12, 2023

Hi, I'm one of the developers here at 1Password and have today investigated and identified the issue with inline code blocks not rendering in the desktop version of OP8 and have a merge request in review for it so am hoping we can get that fix approved and shipped.

likethesky
May 27, 2025

I’m still seeing this problem—or perhaps there was a regression and this bug has reappeared?

Can you confirm that numbered lists indeed work? I have one sentence above the screenshot, not numbered though this isn’t required to see the bug, then a simple numbered list after that and I see the first item has a weird outdent… I have confirmed this happens with a (new) secure note as simple as:

  1. A
  2. B
1Password Employee
July 14, 2025

@likethesky 

 

Thank you for sharing that. I've conduced some testing on my end and I'm afraid I haven't been able to reproduce this as numbered lists were being formatted as expected:

 

So that I can take a closer look at this, I'd to ask you to confirm the following: