add image shortcode

This commit is contained in:
Christoph Cullmann 2025-07-19 19:03:58 +02:00
parent d9bcef641e
commit 7e8ddd7939
No known key found for this signature in database
5 changed files with 11 additions and 6 deletions

View file

@ -29,7 +29,7 @@ What does work (tested with clangd and kate.git/work projects) at the moment:
* Auto completion: you get the proper LSP server provided completion items * Auto completion: you get the proper LSP server provided completion items
![Auto completion](/posts/kate-lsp-client-restart/images/kate-auto-completion.png) {{< image src="/posts/kate-lsp-client-restart/images/kate-auto-completion.png" alt="Auto completion" >}}
* Outline view: Get an extra tool view with the symbols of your current view * Outline view: Get an extra tool view with the symbols of your current view

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 KiB

View file

@ -32,7 +32,7 @@ parts to your **cmake** call. If you use **ninja** and not **make**, just use
Then, let's see what you can do, once you are in a prepared build directory and have a **master** version of **Kate** in your **PATH**. Then, let's see what you can do, once you are in a prepared build directory and have a **master** version of **Kate** in your **PATH**.
{{< video src="/posts/kate-lsp-status-july-22/images/kate-lsp-video.mp4" type="video/mp4" preload="auto" >}} {{< video src="/posts/kate-lsp-status-july-22/images/kate-lsp-video.mp4" >}}
I hope the quality is acceptable, that is my first try in a long time to do some screen-cast ;) I hope the quality is acceptable, that is my first try in a long time to do some screen-cast ;)

View file

@ -0,0 +1,3 @@
<center>
<img width="80%" src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" />
</center>

View file

@ -1,4 +1,6 @@
<video width="100%" preload="{{ .Get "preload" }}" controls> <center>
<source src="{{ .Get "src" }}" type="{{ .Get "type" }}"> <video width="80%" preload="auto" controls>
<source src="{{ .Get "src" }}" />
Your browser does not seem to support the video {{ .Get "src" }}. Your browser does not seem to support the video {{ .Get "src" }}.
</video> </video>
</center>