[GH-ISSUE #1140] Add code block hint #466

Open
opened 2026-03-03 00:21:24 +03:00 by kerem · 2 comments
Owner

Originally created by @momom-i on GitHub (Sep 4, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1140

Issuehunt badges

Current behavior

When we make code block, I think we have to type ```foo as code block start and ``` as end of block manually.
And also we don't know what language is supported in code block until we type.

Sorry if this has already been discussed.

Expected behavior

When we type ``` and we can show the hint tell us what language is supported.
and when we select one of them, code block is auto-completed.
Here is what I say.

code_hint

Steps to reproduce

Environment

Desktop/Web

  • Boost Note app version: 0.21.2
  • OS version and name: MacOS Catalina

Mobile


IssueHunt Summary

Backers (Total: $20.00)

Submitted pull Requests


Become a backer now!

Or submit a pull request to get the deposits!

Tips

Originally created by @momom-i on GitHub (Sep 4, 2021). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/1140 <!-- Issuehunt Badges --> [<img alt="Issuehunt badges" src="https://img.shields.io/badge/IssueHunt-%2420%20Funded-%2300A156.svg" />](https://issuehunt.io/r/BoostIO/BoostNote-App/issues/1140) <!-- /Issuehunt Badges --> # Current behavior When we make code block, I think we have to type ` ```foo ` as code block start and ` ``` ` as end of block manually. And also we don't know what language is supported in code block until we type. Sorry if this has already been discussed. <!-- Let us know what is currently happening. Please include some **screenshots** with the **developer tools** open (console tab) when you report a bug. If your issue is regarding the old Boostnote, please open an issue in the old repo 👉 https://github.com/BoostIO/Boostnote/issues. --> # Expected behavior When we type ` ``` ` and we can show the hint tell us what language is supported. and when we select one of them, code block is auto-completed. Here is what I say. ![code_hint](https://user-images.githubusercontent.com/51011095/132088176-5daf9e30-2f97-4973-ab1c-d1195dcf0da4.gif) <!-- Let us know what you think should happen! --> # Steps to reproduce <!-- Please be thorough, issues we can reproduce are easier to fix! --> # Environment ## Desktop/Web - Boost Note app version: 0.21.2 - OS version and name: MacOS Catalina ## Mobile <!-- Love Boost Note? Please consider supporting us on IssueHunt: 👉 https://issuehunt.io/r/BoostIO/BoostNote.next --> <!-- Issuehunt content --> --- <details> <summary> <b>IssueHunt Summary</b> </summary> ### Backers (Total: $20.00) - [<img src='https://avatars3.githubusercontent.com/u/13612118?v=4' alt='boostio' width=24 height=24> boostio](https://issuehunt.io/u/boostio) ($20.00) ### Submitted pull Requests - [#1252 add language hints for code blocks](https://issuehunt.io/r/BoostIO/BoostNote-App/pull/1252) --- #### [Become a backer now!](https://issuehunt.io/r/BoostIO/BoostNote-App/issues/1140) #### [Or submit a pull request to get the deposits!](https://issuehunt.io/r/BoostIO/BoostNote-App/issues/1140) ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/BoostIO/BoostNote-App/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds. </details> <!-- /Issuehunt content-->
Author
Owner

@Rokt33r commented on GitHub (Sep 6, 2021):

Thanks for the suggestion! It is definitely nice to have!

<!-- gh-comment-id:913877866 --> @Rokt33r commented on GitHub (Sep 6, 2021): Thanks for the suggestion! It is definitely nice to have!
Author
Owner

@issuehunt-oss[bot] commented on GitHub (Sep 14, 2021):

@boostio has funded $20.00 to this issue.


<!-- gh-comment-id:918956155 --> @issuehunt-oss[bot] commented on GitHub (Sep 14, 2021): [@boostio](https://issuehunt.io/u/boostio) has funded $20.00 to this issue. --- - Submit pull request via [IssueHunt](https://issuehunt.io/repos/74213528/issues/1140) to receive this reward. - Want to contribute? Chip in to this issue via [IssueHunt](https://issuehunt.io/repos/74213528/issues/1140). - Checkout the [IssueHunt Issue Explorer](https://issuehunt.io/issues) to see more funded issues. - Need help from developers? [Add your repository](https://issuehunt.io/r/new) on IssueHunt to raise funds.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#466
No description provided.