Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Rishiraj0100
Copy link
Contributor

@Rishiraj0100 Rishiraj0100 commented Oct 23, 2025

Description

Added a simple handy way to add class into elements. (Syntax: element[.classname])

Example:

from syqlorix.templating import *

html(
  head(),
  body.dark(
    div.container(
      h1.header.red("Some heading"),
      a.link.primary.navlink(
        "Some link",
        href="#"
      )
    )
  )
)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • Chore (removed an unwanted dependency lxml to support android devices)

How Has This Been Tested?

  • Manual tests

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@Golgrax Golgrax merged commit 75fa0eb into Syqlorix:main Oct 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants