Clean up docstrings
This commit is contained in:
parent
2dfd058a11
commit
07c880c40a
1 changed files with 6 additions and 6 deletions
12
src/tbl.lisp
12
src/tbl.lisp
|
@ -20,7 +20,7 @@
|
|||
If CONTENT is a number, format it to 9 decimal places.
|
||||
Otherwise, return CONTENT as-is (Spinneret will handle escaping).
|
||||
|
||||
- CONTENT: The cell content (can be a number or any other type)
|
||||
CONTENT: The cell content (can be a number or any other type)
|
||||
|
||||
Returns:
|
||||
- If CONTENT is a number, a string representation with 9 decimal places.
|
||||
|
@ -32,7 +32,7 @@ Returns:
|
|||
(defun render-tbl-header (headers)
|
||||
"Render the header of an HTML table using Spinneret.
|
||||
|
||||
- HEADERS: A list of header cell contents
|
||||
HEADERS: A list of header cell contents
|
||||
|
||||
Example:
|
||||
(render-tbl-header '(\"Name\" \"Age\" \"City\"))"
|
||||
|
@ -45,7 +45,7 @@ Example:
|
|||
(defun render-tbl-body (rows)
|
||||
"Render the body of an HTML table using Spinneret.
|
||||
|
||||
- ROWS: A list of rows, where each row is a list of cell contents
|
||||
ROWS: A list of rows, where each row is a list of cell contents
|
||||
|
||||
Example:
|
||||
(render-tbl-body '((\"John\" 30 \"New York\") (\"Jane\" 25 \"San Francisco\")))"
|
||||
|
@ -59,9 +59,9 @@ Example:
|
|||
(defun render-tbl (headers rows &key (class "table"))
|
||||
"Render a complete HTML table using Spinneret.
|
||||
|
||||
- HEADERS: A list of header cell contents
|
||||
- ROWS: A list of rows, where each row is a list of cell contents
|
||||
- CLASS: CSS class for the table (default: \"table\")
|
||||
HEADERS: A list of header cell contents
|
||||
ROWS: A list of rows, where each row is a list of cell contents
|
||||
CLASS: CSS class for the table (default: \"table\")
|
||||
|
||||
Example:
|
||||
(render-tbl '(\"Name\" \"Age\" \"City\")
|
||||
|
|
Loading…
Add table
Reference in a new issue