Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
RMPitcher
3 years agoNew Contributor
Code formatting in Secure Notes markdown not working
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....
Former Member
3 years agoHi @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.