Highlight code blocks #645
No reviewers
Labels
No Label
1000k
100k
10k
200k
20k
500k
50k
5k
75k
backend
blocked:design
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
scope:intl
scope:nip
scope:query_tracing
scope:ux
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kieran/snort#645
Loading…
Reference in New Issue
No description provided.
Delete Branch "fernandoporazzi/snort:code-highlighter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am not sure this is something Snort should have....
I've implemented code highlighting using fragments and regex. How will it work?
If there is some content starting and finishing with 3 backticks, the highlighting will be applied.
As I said, I am not sure this is desirable or a good idea considering there is a NIP for long-form content that is markdown based.
Nostr event:
nevent1qqsgllkv7wc8cmpz4y4kjpwe0zyy3j2mgfx82f5rhrj982c5gsn44scppemhxue69uhkummn9ekx7mp0qgs840v084fmuuq3zdf9chzxfqhdfralfjn8nzxfhhn9az30lexr54crqsqqqqqpxkef8g
Another:
nevent1qqspv3w24yw3frxzg7dj82sftpnfxhyv03a0wx2sdn74ujtwzntuvtqy8hu7u
Outcome can be found in the attachment.
Need to run formatting, you can use
yarn pre:commit
before commiting code and it formats everything for you11ce81efd8
to9c4871d3c1
Applied