#Html not rendering

49 messages · Page 1 of 1 (latest)

covert jay
#

Colors are strange, and html is not rendering.

nocturne patio
#

What version of the VS Code extension are you using?

#

And what do you mean by "HTML is not rendering"?

covert jay
#

I'm using Versión: 1.74.2 (Universal)

nocturne patio
#

I mean of the Astro extension

covert jay
#

oh

#

107.355

nocturne patio
#

You might be looking at the Svelte extension, not the Astro one

covert jay
nocturne patio
#

Ah, you were looking at the download count, haha

covert jay
#

crap

#

lol

#

0.:16am

#

my brain is fried lol

#

now it works, but for a moment, html wasnt rendering.

nocturne patio
#

I am admittedly not too sure why the colors are wonky, in the version you're using this definitely shouldn't be happening

covert jay
#

it wasnt showing on the page.

#

this is the message, but feels strange, thought for a moment that I need to add --- but it wasnt that

nocturne patio
#

Ah, I think I see why you're getting this

#

I think the extension might be confused by the -- in your class names

#

If you can, it'd be helpful if you could give the output of the "Astro: Debug: Show TSX output" command while on the component

covert jay
#

what do you mean by ""Astro: Debug: Show TSX output" ?

nocturne patio
#

It's a debug command from the extension, should be available in the command palette

covert jay
#

this?

nocturne patio
#

No no, in the editor

covert jay
#

where do you have that?

#

on VSC?

nocturne patio
#

CTRL+ Shift + P to bring up the command palette, and then you can type the name of the command

covert jay
#

oh

nocturne patio
#

Sorry if I'm not explaining it properly, also 00:28 for me, haha!

covert jay
#

this?

#

you are doing everything ok!, I'm the one that is quite new with astro.

nocturne patio
#

I meant the content of the file that appears after using the command

covert jay
#

I feel the worst collaborator ever.

nocturne patio
#

Haha, no worries

#

If it's too complicated / cumbersome, copy pasting the content of your .astro file so I can try it out myself is also an option

covert jay
#


<div class="c--palette-a">
<div class="c--palette-a__wrapper">

</div>

</div>
<script>

</script>

#

this is my astro file.

#

that's it.

nocturne patio
#

Thanks, I'll take a look as soon as possible

#

Sorry for the inconvenience in the meantime

covert jay
#

no no no

#

you are super polite!

#

and helpfull

#

r u part of the Astro team?