Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale-Black committed Oct 9, 2023
2 parents 3f838d4 + 4db3db7 commit 3d693a6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# HTML
# HTMLStrings

[![Build Status](https://github.com/Dale-Black/HTML.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Dale-Black/HTML.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Build Status](https://github.com/Dale-Black/HTMLStrings.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Dale-Black/HTMLStrings.jl/actions/workflows/CI.yml?query=branch%3Amain)


HTML.jl is a Julia package for creating HTML content using a domain-specific language (DSL). It provides a set of functions and types that make it easy to generate HTML in a flexible and expressive manner.
HTMLStrings.jl is a Julia package for creating HTML content using a domain-specific language (DSL). It provides a set of functions and types that make it easy to generate HTML in a flexible and expressive manner.

## Features

- A comprehensive set of functions for generating HTML tags.
- A custom type `HTMLContent` for representing HTML content.
- Easy integration with Pluto.jl notebooks.
- Example Todo App to demonstrate the power of HTML.jl in building interactive web applications.
- Example Todo App to demonstrate the power of HTMLStrings.jl in building interactive web applications.

## Installation

```julia
using Pkg
Pkg.add("HTML")
Pkg.add("HTMLStrings")
```

## Usage

Here's a basic example of how to create and display HTML content using HTML.jl:
Here's a basic example of how to create and display HTML content using HTMLStrings.jl:

```julia
using HTML
Expand All @@ -31,7 +31,7 @@ content = divv(
title("Hello, World!")
),
body(
h1("Welcome to HTML.jl"),
h1(:class => "text-lg", "Welcome to HTML.jl"),
p("Generate HTML content with ease using Julia.")
)
)
Expand All @@ -44,10 +44,10 @@ to_html(content)

In the `examples` folder, you'll find a Todo App and a Pluto notebook demonstrating how to use HTML.jl. Here's how the Todo App looks:

![Todo App GIF](https://github.com/Dale-Black/HTML.jl/blob/main/images/todo_app.gif)
![Todo App GIF](https://github.com/Dale-Black/HTMLStrings.jl/blob/main/images/todo_app.gif)

And here's the Pluto notebook in action:

![Pluto Notebook GIF](https://github.com/Dale-Black/HTML.jl/blob/main/images/pluto_notebook.gif)
![Pluto Notebook GIF](https://github.com/Dale-Black/HTMLStrings.jl/blob/main/images/pluto_notebook.gif)

Explore the examples to learn more about the capabilities of HTML.jl and how you can use it to create dynamic and interactive web content with Julia.

2 comments on commit 3d693a6

@Dale-Black
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/93097

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 3d693a656562934435c4682c98771fcbcb92c561
git push origin v0.1.0

Please sign in to comment.