1.0.13 • Published 11 months ago

pretty-markup v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Pretty Markup: Write HTML Like Poetry

Imagine crafting elegant, semantic HTML structures without the clutter of angle brackets (really human-friendly). Pretty Markup, a revolutionary preprocessor like Sass for CSS or TypeScript for JavaScript, Pretty Markup takes HTML to the next level.

Why Pretty Markup?

  • Goodbye < >, Hello Readability: Pretty Markup reimagines HTML syntax, potentially using a more natural language-like approach. This could make writing HTML a breeze, boosting developer productivity.
  • Semantic Powerhouse: Focus on the meaning of your content, not just its presentation. Pretty Markup encourage semantic best practices, ensuring your HTML is not only beautiful but also machine-readable.
  • A Superset of HTML? Think of it as a layer on top of regular HTML. Write clean, concise code in Pretty Markup, and it seamlessly translates into standard, browser-compatible HTML under the hood. It represents a potential future where writing HTML is an expressive and enjoyable experience.

Pretty Markup

Get started

Project use (manual)

  1. Create a folder ./src.
  2. Create the files with the extension .pm
  3. Then, run:
  pm 

To use the pm command, install it globally. Or, use npx pm

Programmatic use

  import { compiler } from 'pretty-markup';
  const pm = "h1 \"Hey! This's a Heading 1\" /h1"
  const html = compiler(pm)
  console.log(html);

  // Output
  // <!DOCTYPE html>
  // <h1>
  //   Hey! This's a Heading 1</h1>
  //

Official syntax highlighter

  • Pretty Markup Language Basics is available to installation on VS code you can search for Pretty Markup and install the extension. Open VSCode and type ctrl+P, type this:
  ext install mopires.pretty-markup-language-basics

How to Contribute

We welcome contributions! Please see our CONTRIBUTING.md for details on how you can help improve the project.

Issues and improvements

Report bugs or improvements at https://github.com/mopires/pretty-markup/issues

⚖️ License

This project is licensed under the MIT License.

1.0.9

12 months ago

1.0.8

12 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago