Elink function doesn't output anything in dataview table

I have a query that uses the function elink to create external links based on the frontmatter of the selected notes. But I noticed my query stopped working recently, and I’m not sure if this was due to any updates because I haven’t changed this query in a good while.

Trying to find out the cause of this I came with the following snippet:

ELINK: `=elink("https://forum.obsidian.md", "Obsidian Forum")`
ELINK: `=typeof(elink("https://forum.obsidian.md", "Obsidian Forum"))`
LINK:  `=link("Projects", "projects")`
LINK:  `=typeof(link("Projects", "projects"))`

The above markdown outputs:

ELINK: 
ELINK: widget
LINK:  [[Projects|projects]] %% Or the equivalent of this %%
LINK:  link

I couldn’t find anything on the docs or on Dataview’s changelog that could explain this behavior, nor find any error on the developer console.

Does anyone know why is this happening or how else can I investigate this?

I’m using Dataview 0.5.68 on Obsidian 1.10.6.

Your syntax looks good from here.

I pasted your text and got this in (from left to right) Source mode, Live Preview, and Reading:

Have you tried in a sandbox vault? Remember to install and enable Dataview and also enable Settings > Dataview > Enable inline queries.

If it works for you in the sandbox, then you could troubleshoot in your real vault: Disable all CSS snippets, switch to the default theme, and turn on Settings > Community plugins > Restricted mode.

Disabling CSS snippets did the work, I had a rule hiding those external link icons and Dataview uses the same class in its links. :person_facepalming:

Thank you for the troubleshooting tips, I didn’t know about the sandbox vault.

It happens to all of us. Glad you found it!