issues Search Results · repo:COMP1010UNSW/pyhtml-enhanced language:Python
Filter by
13 results
(71 ms)13 results
inCOMP1010UNSW/pyhtml-enhanced (press backspace or delete to remove)References:
- https://youtu.be/_QYAoNCK574
- https://peps.python.org/pep-0750/
Ideally, this would allow for HTML tags to be safely embedded within template strings.
p.p(t Bruno is {p.em( always ...
MaddyGuthridge
- Opened on May 9
- #121
Potential usage:
import pyhtml as p
p.html(
p.body(p.Options(spacing= ))(
# There won t be a space before the exclamation mark
# This will hopefully reduce anger from Tom 7
...
MaddyGuthridge
- Opened on Oct 21, 2024
- #88
Makes it easier for COMP1010 students to use their own tags without needing to use classes.
MaddyGuthridge
- Opened on Sep 5, 2024
- #82
- Use a directory within meta/ that has markdown examples for how to use elements
- Link them into the docstrings during build time
MaddyGuthridge
- Opened on May 21, 2024
- #58
- Make use of Sim s original pyhtml cheatsheet.
- Basically I want something similar but more complete and organised. Perhaps also document common issues with the
type system.
- Build docs with ...
enhancement
MaddyGuthridge
- Opened on May 21, 2024
- #57
Currently, PyHTML only supports the main HTML namespace. It would be awesome to add support for other namespaces such as
SVG to be able to group tags.
Potential usage:
import pyhtml as p
from pyhtml ...
enhancement
MaddyGuthridge
- Opened on May 21, 2024
- #56
To reproduce:
list_items = [p.li( a ), p.li( b )]
p.ul(list_items)
From pylance:
Argument of type list[li] cannot be assigned to parameter children of type ChildrenType in function __init__ ...
MaddyGuthridge
- Opened on Mar 24, 2024
- #40
The contents of pre is rendered by browsers with whitespace as-is. As such, pyhtml-enhanced s automatic indentation
causes content to appear incorrectly.
import pyhtml as p
print(
p.html(
...
MaddyGuthridge
- 1
- Opened on Mar 3, 2024
- #39
PyHTML s module docstring is identical to its README. As such, it d be neat to build said docstring by copying in the
readme at build time.
enhancement
MaddyGuthridge
- 1
- Opened on Nov 25, 2023
- #21
Currently, forgetting to stringify your PyHTML when using it with a Flask server gives a confusing error message.
We should make it give a custom error to avoid this frustration.
Either that, or just ...
MaddyGuthridge
- Opened on Nov 25, 2023
- #20

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.