What is all this? Are you asking people to make up their own sentences? I’ve heard that it is called block syntax (you can do that but I’m not sure why). I’ve asked people to write down their answers.
The reason I mention it is because it is possible to write custom code block syntax highlighting with your language of choice. You just have to find a way to make it easy for people to write code that is block syntax.
The only thing stopping you from using your own language is the fact that it’s not block syntax. But if you’re going to write block syntax highlighting, you should consider using a language that is block syntax friendly, like Python or C++.
Ive been messing around with using Python to write some of my stuff for a while now. Ive also been playing around with C++ for some time now. But it seems that I have a hard time figuring out how to use some of the languages I have been using for editing code blocks in.
After all these years of experimentation, it seems that many of the block syntax features that we do have are terrible, and if you look at some of the official documentation it sounds like you have no idea about them. (I just love the fact that I can write blocks with no code, and then I can use them as many times as I want.
And because blocks are so easily customizable, it’s easy to write your own block syntax. I write my own syntax for block syntax highlighting, and I put it in my Makefile, so I can use it in any project. I just love how simple it is.
You can find a lot of great information about block syntax highlighting on the official documentation, and there are plenty of tutorials out there by other people who know what they are talking about. Like the awesome tutorial by kwendal. There’s also a great tutorial on how to customize a block syntax highlight in the comments to this article, so I highly recommend reading that.
Of course, a lot of the time you just need to use it in a project, and not in a text editor. Thats where my code block toolbox comes in.
It’s a toolbox designed to let you easily swap out block syntax highlight settings in your favorite text editor, and it comes with a ton of great defaults to work with. You can even use it as a way to learn how to write code, by using it as a way to learn how to write code with a different default.
Code blocks are something I’ve used for a long time on my own blogs, but they’re more often used in the context of a project. So I like the idea that I can write code blocks for projects and then use them for personal projects too.