this post was submitted on 11 Oct 2024
6 points (87.5% liked)

HTML

300 readers
12 users here now

founded 1 year ago
MODERATORS
6
submitted 20 hours ago* (last edited 20 hours ago) by Reptorian@programming.dev to c/html@programming.dev
 

Right now, I would like a easy editor that allows me to not worry about HTML4 syntax, and simply adjust the rendered text, while I can see the HTML source code.

The reason I need something like this is that I sometimes do make note() in G'MIC which looks like this:

#@gui:_=separator(),_=note("<center><b>- Additional Information -</b></center>")

See that inside note("")? That's HTML4. And while I can do without a editor, I feel that it would be better to use an actual editor where I can copy and paste.

My code can look something like this (Without wrap lines):

spoiler

<b>Palette CLI Information</b>\n\n <i>Main Source of Palettes - </i><a href=\"https://lospec.com/palette-list\"> LoSpec Palette List</a>\n\nPalette Number -- pal number_id = pal name_id -- Full Palette Name by Author[if mentioned]\n\n1 -- +pal 0 = +pal bw -- Black & White\n2 -- +pal 1 = +pal rgb -- Red-Green-Blue\n3 -- +pal 2 = +pal b_rgb -- Black with Red-Green-Blue\n4 -- +pal 3 = +pal bw_rgb -- Black & White with Red-Green-Blue\n5 -- +pal 4 = +pal cmy -- Cyan-Magenta-Yellow\n6 -- +pal 5 = +pal cmyk -- Cyan-Magenta-Yellow-Black\n7 -- +pal 6 = +pal w_cmyk -- White-Cyan-Magenta-Yellow-Black\n8 -- +pal 7 = +pal rgbcmy -- Red-Green-Blue with Cyan-Magenta-Yellow\n9 -- +pal 8 = +pal 1bitrgb -- 1-Bit RGB\n10 -- +pal 9 = +pal aurora -- Aurora by GrafxKid\n11 -- +pal 10 = +pal zenit -- Zenit-241 by Zenit40\n12 -- +pal 11 = +pal gbg -- Game Builder Garage: Texture-Sprite Editor Palette\n13 -- +pal 12 = +pal duel -- Duel by Arilyn\n14 -- +pal 13 = +pal hocuspocus -- Hocus Pocus Palette by Apogee Software,Ltd.\n15 -- +pal 14 = +pal playpal -- PLAYPAL by id Tech 1 | DOOM Engine\n16 -- +pal 15 = +pal srb2 -- Sonic Robo Blast 2\n17 -- +pal 16 = +pal uzebox -- Uzebox from Uzebox console\n18 -- +pal 17 = +pal kens16 -- Andrew Kensler - 16 by Andrew Kensler\n19 -- +pal 18 = +pal kens32 -- Andrew Kensler - 32 by Andrew Kensler\n20 -- +pal 19 = +pal kens54 -- Andrew Kensler - 54 by Andrew Kensler\n21 -- +pal 20 = +pal aap12 -- AAP-Micro 12 by Adigun A. Polack\n22 -- +pal 21 = +pal aap16 -- AAP-16 by Adigun A. Polack\n23 -- +pal 22 = +pal aap64 -- AAP-64 by Adigun A. Polack

all 7 comments
sorted by: hot top controversial new old
[–] FizzyOrange@programming.dev 4 points 19 hours ago* (last edited 19 hours ago) (1 children)
[–] Reptorian@programming.dev 1 points 18 hours ago (1 children)

Yes. <center></center> isn't part of HTML5. It is part of HTML4 though.

[–] FizzyOrange@programming.dev 2 points 7 hours ago

Ah right. Center still works with html5 though even if it technically isn't in the spec. No browser is everything going to remove support for that.

Anyway I'm not sure you'll get any answers because it isn't at all clear what you're asking for.

You can edit that HTML in Notepad. I'm guessing Notepad isn't what you're looking for, so you need to specify what you want better.

[–] GammaGames@beehaw.org 1 points 20 hours ago (1 children)

Like a static site generator?

[–] Reptorian@programming.dev 2 points 20 hours ago (1 children)

Yes, something like that. I provided a spoiler example recently. And I would definitely like to be able to adjust what's going to be rendered by editing on the rendered viewport.

[–] GammaGames@beehaw.org 1 points 8 hours ago

I use jekyll because that’s what github pages supports by default, you write markdown and it formats to html using templates. It’s pretty flexible and easy to use