Skip to content

Commit b1d2a5f

Browse files
committed
1.2.0
1 parent 91c3c46 commit b1d2a5f

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.2.0] 2025-06-26
6+
7+
### Added
8+
9+
- Introduced a prefix-based HTML DSL for `Falco.Markup` to reduce visual noise and improve readability.
10+
- Single underscore (`_`) prefix for HTML elements (e.g., `_div`, `_span`).
11+
- Single underscore (`_`) prefix for attributes (e.g., `_class_`, `_id_`).
12+
- Single underscore (`_`) prefix for text elements with a trailing apostrophe (e.g., `_h1'`, `_p'`).
13+
- Example usage:
14+
```fsharp
15+
let myComponent =
16+
_div [ _class_ "container" ] [
17+
_h1' "Hello World"
18+
_p' "This is a paragraph"
19+
]
20+
```
21+
- Unified DSL module ensures backward compatibility while providing a cleaner syntax for new code.
22+
23+
524
## [1.1.1] 2024-03-28
625
726
###
@@ -45,4 +64,4 @@ All notable changes to this project will be documented in this file.
4564
4665
## [1.0.0] 2022-09-07
4766
48-
- Exported from core [Falco](https://github.com/pimbrouwers/Falco) library.
67+
- Exported from core [Falco](https://github.com/pimbrouwers/Falco) library.

src/Falco.Markup/Falco.Markup.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>Falco.Markup</AssemblyName>
55
<RootNamespace>Falco</RootNamespace>
6-
<Version>1.1.1</Version>
6+
<Version>1.2.0</Version>
77

88
<!-- General info -->
99
<Description>An F# DSL for generating markup, including HTML, SVG and XML.</Description>

0 commit comments

Comments
 (0)