From 7ec66d0da5a89c558ba93fee22dd3d1e65998953 Mon Sep 17 00:00:00 2001 From: paku Date: Sat, 1 Jun 2024 21:20:46 +0900 Subject: [PATCH] Un-export deftag macro for security reasons --- README.md | 18 ------------------ src/main.lisp | 1 - 2 files changed, 19 deletions(-) diff --git a/README.md b/README.md index 2db6356..5d829ae 100644 --- a/README.md +++ b/README.md @@ -86,24 +86,6 @@ This generates:

This is another paragraph.

``` -You can create custom tags (intended for Web Components) using the `deftag` macro. - -```lisp -(deftag stack) -``` - -This can then be used as follows: - -```lisp -(hsx (stack :space "var(--s2)" :recursive t)) -``` - -Which generates: - -```html - -``` - You can create HSX components using the `defcomp` macro. Components are essentially functions that accept keyword arguments, a property list, or both. The `children` property accepts the children of a component. diff --git a/src/main.lisp b/src/main.lisp index dfa81b3..d512ff7 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -5,7 +5,6 @@ #:hsx/defhsx #:hsx/hsx) (:export #:hsx - #:deftag #:defcomp #:render)) (in-package :hsx)