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

Prepare example board with extra features (e.g. color styling, extra syntax, shortcuts) #64

Open
2 tasks
RARgames opened this issue Nov 24, 2023 · 1 comment
Labels

Comments

@RARgames
Copy link
Owner

RARgames commented Nov 24, 2023

Examples of supported features:

Code highlighting (highlight line, show line numbers):

 const handleEditorKeyDown = useCallback(
    (event) => {
      if (event.key === 'Escape') {
        handleCancel();
      } else if (event.ctrlKey && event.key === 'Enter') {
        handleSubmit();
      } else if (event.altKey && event.key === 'ArrowUp') {
        handleLineMove(-1);
      } else if (event.altKey && event.key === 'ArrowDown') {
        handleLineMove(1);
      }
    },
    [handleCancel, handleLineMove, handleSubmit],
  );

Github auto linking issues etc (in code not to actually notify).:

*   Commit: f8083175fe890cbf14f41d0a06e7aa35d4989587
*   Commit (fork): foo@f8083175fe890cbf14f41d0a06e7aa35d4989587
*   Commit (repo): remarkjs/remark@e1aa9f6c02de18b9459b7d269712bcb50183ce89
*   Issue or PR (`#`): #1
*   Issue or PR (`GH-`): GH-1
*   Issue or PR (fork): foo#1
*   Issue or PR (project): remarkjs/remark#1
*   Mention: @RARgames 
or
*   Commit: <https://github.com/remarkjs/remark/commit/e1aa9f6c02de18b9459b7d269712bcb50183ce89>
*   Commit comment: <https://github.com/remarkjs/remark/commit/ac63bc3abacf14cf08ca5e2d8f1f8e88a7b9015c#commitcomment-16372693>
*   Issue or PR: <https://github.com/remarkjs/remark/issues/182>
*   Issue or PR comment: <https://github.com/remarkjs/remark-github/issues/3#issue-151160339>
*   Mention: <https://github.com/ben-eb>

Colored text:

aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa

Autolinking websites:

https://avatars.githubusercontent.com/u/13639766?s=400&v=4

Image with link:

Tables:

Header Header
Cell Cell
Cell Cell
Cell Cell

Default features (bold, italic, etc.):
aaa
bbb
ccc
ddd


a

b

c

d

e
f

sdsdasdsa

sdasd

dfdfsdfs

console.log('asda');

![image](https://example.com/img.png)

  • aaaa
  • aaa
  • aa
  • a
  1. a
  2. aa
  3. aaa
  • bbb
  • aaa
@RARgames RARgames added the 3.0.0 label Jan 24, 2024
@RARgames
Copy link
Owner Author

Tutorial board - #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant