Html tags with tables

What I’m trying to do

I’m trying to use html tags with tables like this:

0x 0x-0 0x-1 0x-2 0x-3 0x-4 0x-5 0x-6 0x-7 0x-08 0x-9 0x-A 0x-B 0x-C 0x-D 0x-E 0x-F
0x0-
0x1-
0x2-
0x3-
0x4-
0x5-
0x6-
0x7-
0x8-
0x9-
0xA-
0xB-
0xC-
0xD-
0xE-
0xF-
``` but it won't work. I don't want to put around every single piece of text individually. It works here in the forms but not in the actual editor. Does anyone now what to do?

What it looks like

What its supposed to look like

It’s unclear whether What it Looks Like is preview or source mode. And I don’t see any html tags. Maybe you need to post the source code. If what you posted is the source you need line breaks between rows.

sorry about that. It’s supposed to look like this

<small>
| 0x   | 0x-0 | 0x-1 | 0x-2 | 0x-3 | 0x-4 | 0x-5 | 0x-6 | 0x-7 | 0x-08 | 0x-9 | 0x-A | 0x-B | 0x-C | 0x-D | 0x-E | 0x-F |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ----- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| 0x0- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x1- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x2- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x3- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x4- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x5- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x6- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x7- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x8- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0x9- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0xA- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0xB- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0xC- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0xD- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0xE- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |
| 0xF- |      |      |      |      |      |      |      |      |       |      |      |      |      |      |      |      |		
</small>						

Okay I think I understand. If you remove the html tags I assume it displays a table, just too large? If so you could use css for font size and column width.

Obsidian doesn’t support markdown within html tags, so either you use cssclasses to format all tables within this note, or you could identify a specific table through adding a html tag within the table somewhere to give css an anchor to target.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.