Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keypress/keystroke formatting missing. #760

Closed
Mirdarthos opened this issue Jan 9, 2021 · 5 comments
Closed

Keypress/keystroke formatting missing. #760

Mirdarthos opened this issue Jan 9, 2021 · 5 comments
Labels
feature request 🌟 Issue is a new feature request.

Comments

@Mirdarthos
Copy link

Mirdarthos commented Jan 9, 2021

Using the previous boostnote, I got used to, and used, the keypress/keystroke functionality a lot. Wrapping the text in double square brackets ( [[Text]] ) would have caused it to be rendered as keyboard buttons.

Current behavior

This isn't happening. It just shows the text as [[Text]]. No formatting or anything of the sort.

Expected behavior

It should be rendered as buttons as in the previous (original?) version of Boostnote

Steps to reproduce

Type a note and wrap some text in double square brackets, for example [[Enter]]

Environment

Linux KDE, for what it's worth.

Unrelated note

I wanted to mention the same happens for admonitions but I noticed it has been added already. However, according to the commit comment for it, it was added ~2/3 days ago and the latest .AppImage file is ~16 days old. Hence they are not available in the .AppImage and I can't use them. (Unless I'm missing something, which is also a possibility.)

@Komediruzecki
Copy link
Contributor

Komediruzecki commented Jan 9, 2021

Hi Mirdarthos

I'll see what we can do with those keyboard renderings, in boostnote.next you can use a similar feature with backticks as shown here: code-block (`code-block`).

But [[key]] syntax might be used by future internal note linking feature - so the syntax could change (even thou it could coexist)

For admonitions, they are added - just not in the latest release, once it comes it will feature the admonitions (maybe keyboard renderings too)

@Komediruzecki Komediruzecki added the feature request 🌟 Issue is a new feature request. label Jan 9, 2021
@Mirdarthos
Copy link
Author

Mirdarthos commented Jan 9, 2021

I know about, and understand the backticks. I use them regularly, as well. They just aren't the same as the keypresses though.

But thank you very much!

@Mirdarthos
Copy link
Author

From what I could see online, a new version was released ~2 weeks ago, so I downloaded it (the .AppImage, as I always do.)

I replaced the previous version, made this one executable, and checked that it was v 0.12.4. Which it was indeed.

Sadly, I was still unable to properly use admonitions. And I just checked again, I still am. It just appears in the same as in the edit pane. See this image for a clearer, better example of what's happening.

I also noticed the admonitions aren't working for previous notes that has them in.

@Komediruzecki
Copy link
Contributor

From what I could see online, a new version was released ~2 weeks ago, so I downloaded it (the .AppImage, as I always do.)

I replaced the previous version, made this one executable, and checked that it was v 0.12.4. Which it was indeed.

Sadly, I was still unable to properly use admonitions. And I just checked again, I still am. It just appears in the same as in the edit pane. See this image for a clearer, better example of what's happening.

I also noticed the admonitions aren't working for previous notes that has them in.

Hi Mirdarthos,

You are using the wrong syntax, it is not the same as in boostnote legacy. Please replace "!!!" syntax with ":::".
See this for better understanding and which keywords for admonitions are available:
#727

@Mirdarthos
Copy link
Author

Hi @Komediruzecki.

THANK YOU THANK YOU TANK YOU!

I missed that, somehow. And I really do actually pride myself on being able to pick up something like that. And I brave the stormy ocean interwebz for it before coming here, and I STILL MISSED IT! i'M SORRY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 🌟 Issue is a new feature request.
Projects
None yet
Development

No branches or pull requests

2 participants