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

jsonrpc blog post without dark theme #1047

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d2a7751
add code highlighting
Simon-Laux Nov 4, 2024
2fc8489
first draft of jsonrpc blogpost
Simon-Laux Nov 3, 2024
be54d95
code highlight line
Simon-Laux Nov 4, 2024
e2370fd
smaller improvements
Simon-Laux Nov 4, 2024
70d2195
more fixes
Simon-Laux Nov 4, 2024
4acbf03
more fixes remove solved todo items
Simon-Laux Nov 4, 2024
7332bb0
fmt
Simon-Laux Nov 4, 2024
5ddd021
remove todo from post
Simon-Laux Nov 4, 2024
080beb7
make mermaid flowchart clearer to understand
Simon-Laux Nov 4, 2024
de0ec75
fix a rust codefence block
Simon-Laux Nov 4, 2024
ea513d4
realtime blog post is out soon, link to it directly
Simon-Laux Nov 19, 2024
4727a5b
Update _posts/2024-11-10-why-jsonrpc-bindings-exist.md
Simon-Laux Jan 5, 2025
6322233
convert anchor from obsidian to markdown
Simon-Laux Jan 8, 2025
cc7f376
add small section about current usage of jsonrpc
Simon-Laux Jan 8, 2025
f6f27ff
fix typos
Simon-Laux Jan 8, 2025
57204a0
Apply suggestions from code review
Simon-Laux Jan 30, 2025
54244ff
Apply suggestions from code review and improve a few things
Simon-Laux Jan 31, 2025
b7d0817
small improvements, fix casing, add clarifications and break long line
Simon-Laux Feb 1, 2025
d761249
Eplain RPC, fix some casing
Simon-Laux Feb 1, 2025
4d6d91e
rewording
Simon-Laux Feb 1, 2025
4c03a0f
fix typos
Simon-Laux Feb 1, 2025
ffea2a9
remove dark theme from code highlight
Simon-Laux Feb 1, 2025
d81f1c5
change date and author name
Simon-Laux Feb 1, 2025
98a39b9
redraw diagram with Excalidraw
WofWca Feb 1, 2025
7affbb8
Update _posts/2025-02-01-why-jsonrpc-bindings-exist.md
Simon-Laux Feb 1, 2025
a8681a0
alt text for images
Simon-Laux Feb 1, 2025
549631a
Apply suggestions from code review
Simon-Laux Feb 3, 2025
fae63b0
try to fix footnotes
Simon-Laux Feb 3, 2025
b7fe72c
this should fix footnotes
Simon-Laux Feb 3, 2025
112257a
remove strange space in the beginning of code blocks
Simon-Laux Feb 3, 2025
2eda65c
fix link
Simon-Laux Feb 3, 2025
6ec1e77
try out abbreviation feature
Simon-Laux Feb 3, 2025
8fb37cb
try putting the definition to top
Simon-Laux Feb 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
383 changes: 383 additions & 0 deletions _posts/2025-02-01-why-jsonrpc-bindings-exist.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ code {
border-radius: 5px;
}

pre code {
padding: 0px;
}

#content table td, #content table th { border: 1px solid #ccc; padding: 0.2em 0.4em; }
#content table th { background-color: #eee; font-weight: bold; }
Expand Down
378 changes: 378 additions & 0 deletions _sass/_code_highlight.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,378 @@
// Tango Theme from https://jwarby.github.io/jekyll-pygments-themes/languages/ruby.html
.highlight .hll {
background-color: #ffffcc;
}

.highlight .c {
color: #8f5902;
font-style: italic;
}

/* Comment */
.highlight .err {
color: #a40000;
border: 1px solid #ef2929;
}

/* Error */
.highlight .g {
color: #000000;
}

/* Generic */
.highlight .k {
color: #204a87;
font-weight: bold;
}

/* Keyword */
.highlight .l {
color: #000000;
}

/* Literal */
.highlight .n {
color: #000000;
}

/* Name */
.highlight .o {
color: #ce5c00;
font-weight: bold;
}

/* Operator */
.highlight .x {
color: #000000;
}

/* Other */
.highlight .p {
color: #000000;
font-weight: bold;
}

/* Punctuation */
.highlight .cm {
color: #8f5902;
font-style: italic;
}

/* Comment.Multiline */
.highlight .cp {
color: #8f5902;
font-style: italic;
}

/* Comment.Preproc */
.highlight .c1 {
color: #8f5902;
font-style: italic;
}

/* Comment.Single */
.highlight .cs {
color: #8f5902;
font-style: italic;
}

/* Comment.Special */
.highlight .gd {
color: #a40000;
}

/* Generic.Deleted */
.highlight .ge {
color: #000000;
font-style: italic;
}

/* Generic.Emph */
.highlight .gr {
color: #ef2929;
}

/* Generic.Error */
.highlight .gh {
color: #000080;
font-weight: bold;
}

/* Generic.Heading */
.highlight .gi {
color: #00a000;
}

/* Generic.Inserted */
.highlight .go {
color: #000000;
font-style: italic;
}

/* Generic.Output */
.highlight .gp {
color: #8f5902;
}

/* Generic.Prompt */
.highlight .gs {
color: #000000;
font-weight: bold;
}

/* Generic.Strong */
.highlight .gu {
color: #800080;
font-weight: bold;
}

/* Generic.Subheading */
.highlight .gt {
color: #a40000;
font-weight: bold;
}

/* Generic.Traceback */
.highlight .kc {
color: #204a87;
font-weight: bold;
}

/* Keyword.Constant */
.highlight .kd {
color: #204a87;
font-weight: bold;
}

/* Keyword.Declaration */
.highlight .kn {
color: #204a87;
font-weight: bold;
}

/* Keyword.Namespace */
.highlight .kp {
color: #204a87;
font-weight: bold;
}

/* Keyword.Pseudo */
.highlight .kr {
color: #204a87;
font-weight: bold;
}

/* Keyword.Reserved */
.highlight .kt {
color: #204a87;
font-weight: bold;
}

/* Keyword.Type */
.highlight .ld {
color: #000000;
}

/* Literal.Date */
.highlight .m {
color: #0000cf;
font-weight: bold;
}

/* Literal.Number */
.highlight .s {
color: #4e9a06;
}

/* Literal.String */
.highlight .na {
color: #c4a000;
}

/* Name.Attribute */
.highlight .nb {
color: #204a87;
}

/* Name.Builtin */
.highlight .nc {
color: #000000;
}

/* Name.Class */
.highlight .no {
color: #000000;
}

/* Name.Constant */
.highlight .nd {
color: #5c35cc;
font-weight: bold;
}

/* Name.Decorator */
.highlight .ni {
color: #ce5c00;
}

/* Name.Entity */
.highlight .ne {
color: #cc0000;
font-weight: bold;
}

/* Name.Exception */
.highlight .nf {
color: #000000;
}

/* Name.Function */
.highlight .nl {
color: #f57900;
}

/* Name.Label */
.highlight .nn {
color: #000000;
}

/* Name.Namespace */
.highlight .nx {
color: #000000;
}

/* Name.Other */
.highlight .py {
color: #000000;
}

/* Name.Property */
.highlight .nt {
color: #204a87;
font-weight: bold;
}

/* Name.Tag */
.highlight .nv {
color: #000000;
}

/* Name.Variable */
.highlight .ow {
color: #204a87;
font-weight: bold;
}

/* Operator.Word */
.highlight .w {
color: #f8f8f8;
text-decoration: underline;
}

/* Text.Whitespace */
.highlight .mf {
color: #0000cf;
font-weight: bold;
}

/* Literal.Number.Float */
.highlight .mh {
color: #0000cf;
font-weight: bold;
}

/* Literal.Number.Hex */
.highlight .mi {
color: #0000cf;
font-weight: bold;
}

/* Literal.Number.Integer */
.highlight .mo {
color: #0000cf;
font-weight: bold;
}

/* Literal.Number.Oct */
.highlight .sb {
color: #4e9a06;
}

/* Literal.String.Backtick */
.highlight .sc {
color: #4e9a06;
}

/* Literal.String.Char */
.highlight .sd {
color: #8f5902;
font-style: italic;
}

/* Literal.String.Doc */
.highlight .s2 {
color: #4e9a06;
}

/* Literal.String.Double */
.highlight .se {
color: #4e9a06;
}

/* Literal.String.Escape */
.highlight .sh {
color: #4e9a06;
}

/* Literal.String.Heredoc */
.highlight .si {
color: #4e9a06;
}

/* Literal.String.Interpol */
.highlight .sx {
color: #4e9a06;
}

/* Literal.String.Other */
.highlight .sr {
color: #4e9a06;
}

/* Literal.String.Regex */
.highlight .s1 {
color: #4e9a06;
}

/* Literal.String.Single */
.highlight .ss {
color: #4e9a06;
}

/* Literal.String.Symbol */
.highlight .bp {
color: #3465a4;
}

/* Name.Builtin.Pseudo */
.highlight .vc {
color: #000000;
}

/* Name.Variable.Class */
.highlight .vg {
color: #000000;
}

/* Name.Variable.Global */
.highlight .vi {
color: #000000;
}

/* Name.Variable.Instance */
.highlight .il {
color: #0000cf;
font-weight: bold;
}

/* Literal.Number.Integer.Long */
3 changes: 2 additions & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "_normalize";
@import "_base";
@import "_downloadpage";
@import "_downloadpage";
r10s marked this conversation as resolved.
Show resolved Hide resolved
@import "_code_highlight";
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading