No description
Find a file
tadashi-aikawa 6f1365bd86 0.5.5
2022-10-21 10:20:45 +09:00
.github/workflows Update development workflows 2021-12-11 14:39:53 +09:00
publish Fix an error that doesn't display correctly with dataview (#10) 2022-06-20 22:26:19 +09:00
resource Remove unnecessary wrapper 2021-07-26 13:15:57 +09:00
.gitignore Initial commit 2021-07-03 15:28:01 +09:00
.npmrc Ready for release 2021-07-18 21:43:08 +09:00
LICENSE Add LICENSE 2021-07-18 21:59:54 +09:00
main.ts Fix an error that doesn't display correctly with dataview (#10) 2022-06-20 22:26:19 +09:00
manifest.json Update manifest 2022-10-21 10:20:44 +09:00
package.json 0.5.5 2022-10-21 10:20:45 +09:00
README.md Update development workflows 2021-12-11 14:39:53 +09:00
rollup.config.js Initial commit 2021-07-03 15:28:01 +09:00
styles.css Updated style.css 2022-10-19 11:39:20 +02:00
Taskfile.yml Update dev task 2022-10-21 10:20:24 +09:00
tsconfig.json Initial commit 2021-07-03 15:28:01 +09:00
versions.json First implementation 2021-07-03 18:38:12 +09:00

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