Conversation
Initial naive Go language syntax highlighting as of Go 1.18 Based on https://go.dev/ref/spec#Lexical_elements
|
I'd like to add an example in Go to Examples/ later too, but I first need to master the syntax. |
|
Generally speaking we're asking people not to submit new functionality with PRs yet, but this seems like a quite reasonable addition which doesn't complicate anything else, so I'm inclined to accept. Can you in practice use Inweb sensibly on a Go project with just this change? |
I haven't fully built my example in Go, yet. I'm coming from srcweave (which would've been the ideal tool for me if not for the fact it's written in Lisp and there's some issues with it under WSL1) so the syntax is quite different. Would you mind telling me how to make parts of text bold (if that's possible) and how to include one part of code in another? In srcweave I can just name a code snippet (i e |
|
This is the Web I wrote. Strangely, nothing is displayed at all when I switch to |

Initial naive Go language syntax highlighting as of Go 1.18
Based on https://go.dev/ref/spec#Lexical_elements