# Ability to create Filelinks/Tags for the Graph inside Codeblocks

**URL:** <https://forum.obsidian.md/t/ability-to-create-filelinks-tags-for-the-graph-inside-codeblocks/17419>\
**Category:** Feature requests\
**Tags:** internal-links\
**Created:** [April 30, 2021, 9:33am UTC](https://forum.obsidian.md/t/ability-to-create-filelinks-tags-for-the-graph-inside-codeblocks/17419 "2021-04-30T09:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adaptive](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/2acd7d/32.png) [@adaptive](https://forum.obsidian.md/u/adaptive)\
**Post date:** [April 30, 2021, 9:33am UTC](https://forum.obsidian.md/t/ability-to-create-filelinks-tags-for-the-graph-inside-codeblocks/17419/1 "2021-04-30T09:33:50Z")

</div>

### Use case or problem

Im referring to this [Links in Admonitions are not displayed in Graph View · Issue #18 · valentine195/obsidian-admonition · GitHub](https://github.com/valentine195/obsidian-admonition/issues/18) issue regarding filelink creation for graphview inside codeblocks.

The problem is, that Obsidian by default dont look into Codeblocks, so there are no connections created.

### Proposed solution

I would highly suggest, that Obsidian opens and cares about the content of specific codeblocks. In the large-number of new plugins which are using codeblocks to specify the behaviour, it would be sufficient to look to the Codeblock-ID (in that case it would be for e.g. `ad-info` after the three `) and if that is somehow an registered ID by an Plugin, Obsidian could process the content inside these Codeblock as usual markdown (filelink creation, Sections as headings, …).

Since Obsidian somehow redefined the using of codeblocks, it would be a huge improvement for the functions of new plugins.

### Current workaround (optional)

No workaround yet.

### Related feature requests (optional)

I think this would open new possibilities to the plugin developers

---

<div class="post-metadata">

**Author:** ![shuusei](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/35a633/32.png) [@shuusei](https://forum.obsidian.md/u/shuusei)\
**Post date:** [May 6, 2021, 3:36pm UTC](https://forum.obsidian.md/t/ability-to-create-filelinks-tags-for-the-graph-inside-codeblocks/17419/2 "2021-05-06T15:36:53Z")

</div>

Yes. I also find that the admonition plugin may be the fanciest way to get a block reference with the contents you want to be referred to.

It is very meaningful if a bi-link can be detected. It might change the way people taking notes in obsidian.

---

<div class="post-metadata">

**Author:** ![EleanorKonik](https://forum.obsidian.md/user_avatar/forum.obsidian.md/eleanorkonik/32/6180_2.png) [@EleanorKonik](https://forum.obsidian.md/u/EleanorKonik)\
**Post date:** [May 28, 2021, 12:44am UTC](https://forum.obsidian.md/t/ability-to-create-filelinks-tags-for-the-graph-inside-codeblocks/17419/3 "2021-05-28T00:44:55Z")

</div>

I proposed an alternate solution here: [Alternate Syntax for Codeblock Plugins](https://forum.obsidian.md/t/alternate-syntax-for-codeblock-plugins/18905)
