Home

Awesome

Obsidian Embedded Code Title Plugin

release downloads

This is an Obsidian plugin which can embeds title to code blocks.

⚠ There is a possibility that this plugin doesn't work someday because it depends on the internal DOM structure of Obsidian.

Demo

🖋 Examples

No file name

```python
def main():
    pass
```

img.png

No file name but show a language name

```python:
def main():
    pass
```

img_1.png

With a file name

```python:main.py
def main():
    pass
```

img_2.png

With a file name includes half spaces

If you configure as the follows.

img_4.png

Then

```python:main\sincludes\sspace.py
def main():
    pass
```

img_3.png

🌍 Use on Obsidian Publish

If you can use a custom domain on Obsidian Publish, you can also use features of this plugin on the published site by Obsidian Publish with publish.js and publish.css. You can download publish.js and publish.css on the Latest release page. Please see my published site as examples.

🖥️ For developers

Development

task init
task dev

Release

task release VERSION=1.2.3