From 72f60ec03bc661f535e99688d0a8ca4582dfefcc Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Fri, 1 Dec 2023 18:51:02 +0000 Subject: [PATCH] use mdash :eyes:, fix issue link --- README.md | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 8dc67f14..229c9e0f 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ At its heart, FastUI is a set of matching [Pydantic](https://docs.pydantic.dev) FastUI is made up of 4 things: -- [`fastui` PyPI package](https://pypi.python.org/pypi/fastui) - Pydantic models for UI components, and some utilities. While it works well with [FastAPI](https://fastapi.tiangolo.com) it doesn't depend on FastAPI, and most of it could be used with any python web framework. -- [`@pydantic/fastui` npm package](https://www.npmjs.com/package/@pydantic/fastui) - a React TypeScript package that let's you reuse the machinery and types of FastUI while implementing your own components -- [`@pydantic/fastui-bootstrap` npm package](https://www.npmjs.com/package/@pydantic/fastui-bootstrap) - implementation/customisation of all FastUI components using [Bootstrap](https://getbootstrap.com) +- [`fastui` PyPI package](https://pypi.python.org/pypi/fastui) — Pydantic models for UI components, and some utilities. While it works well with [FastAPI](https://fastapi.tiangolo.com) it doesn't depend on FastAPI, and most of it could be used with any python web framework. +- [`@pydantic/fastui` npm package](https://www.npmjs.com/package/@pydantic/fastui) — a React TypeScript package that let's you reuse the machinery and types of FastUI while implementing your own components +- [`@pydantic/fastui-bootstrap` npm package](https://www.npmjs.com/package/@pydantic/fastui-bootstrap) — implementation/customisation of all FastUI components using [Bootstrap](https://getbootstrap.com) - [`@pydantic/fastui-prebuilt` npm package](https://www.jsdelivr.com/package/npm/@pydantic/fastui-prebuilt) (available on [jsdelivr.com CDN](https://www.jsdelivr.com/package/npm/@pydantic/fastui-prebuilt)) providing a pre-built version of the FastUI React app so you can use it without installing any npm packages or building anything yourself. The Python package provides a simple HTML page to serve this app. Here's a simple but complete FastAPI application that uses FastUI to show some user profiles: @@ -121,31 +121,31 @@ Of course, that's a very simple application, the [full demo](https://fastui-demo FastUI already defines the following components, all are shown in the [demo app](https://fastui-demo.onrender.com): -- `Text` - renders a string -- `Paragraph` - renders a string as a paragraph -- `PageTitle` - renders nothing, sets the HTML page title -- `Div` - renders a `
` with arbitrary components inside -- `Page` - a container for components -- `Heading` - renders a heading `

` to `

` -- `Markdown` - renders markdown, [example](https://fastui-demo.onrender.com) -- `Code` - renders code with highlighting in a `
`
-- `Button` - renders a `