# bad-text

> Bad Text is a language that allows you to make websites, presentations, blog posts, and much more!. It is easily customizable, there will be themes that are constantly created!

Latest version **1.0.1** (published 2021-03-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install bad-text
pnpm add bad-text
yarn add bad-text
bun add bad-text
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-03-04 |
| First published | 2021-03-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | UglyUncle093 |
| Maintainers | powertrash5771 |
| Keywords | badtext |

## Links

- npm: https://www.npmjs.com/package/bad-text
- npm.io page: https://npm.io/package/bad-text

## Recent versions

- 1.0.1 (latest) — 2021-03-04
- 1.0.0 — 2021-03-04

## README

# PowerTrash5771 Bad Text Lang
Bad Text is a language that allows you to make websites, presentations, blog posts, and much more!. It is easily customizable, there will be themes that are constantly created.
# Compile
## With code, without plugins
```
var BadText = require('powertrash-bad-text-lang');
var BadText_File fs.readFileSync('example.btext').toString();
var BadText_HTML
BadText.ToHtml(BadText_File,[],(result) => {
  // result.from is the original code
  // result.compiled is the compiled HTML
  BadText_HTML = result.compiled;
})
```
## With code, and plugins
```
var BadText = require('powertrash-bad-text-lang');
var BadText_File fs.readFileSync('example.btext').toString();
var BadText_HTML
BadText.ToHtml(BadText_File,[BadText.BadTextStudio],(result) => {
  // result.from is the original code
  // result.compiled is the compiled HTML
  BadText_HTML = result.compiled;
})
```
<br />

## Compile without code (coming soon)

download [BadTextCompiler](http://powertrash5771.com/downloads/btc) or go to [BadTextCompilerOnline](http://powertrash5771.com/online/btc)

# Language
## Creating a hello world app
```
$h1(Hello World!)
```
## Creating bold text
```
$bold(Test.)
```
## Creating a paragraph
```
$p(Paragraph)
```
## Creating a list
It was going to be added like this, but had alot of bugs, and is now in BadTextStudio plugin. I might consider adding this later if I can.
```
$h3(Features)
$ul($li(Powerful Nothing)$li(Pls Go))
```
## Bold in heading (Only supports h1 right now)
```
$h1-bold(Hello World)
```
## Language Imperfections
#### **you can't put ")" in your code**
Fix: `^1`

# BadTextStudio

## Create Header (Requires Custom Theme)

```
$theme(badtext-green-blue);
$studio-header(This is a header.)
```
## Create Lists (NEW!)

```
$theme(badtext-green-blue);
$ulist{
*text(This is text);
*link(https://www.google.com/,This is a link);
*button(https://www.google.com/,This is a button);
}($ulist)
```

## Create Nav (Coming Soon)

```
$theme(badtext-green-blue);
$nav{
$nav:link(https://www.google.com/,Google);
$nav:link(https://www.youtube.com/,Youtube);
}($nav)
```

# Changelog
1. 1.0.1
    1. New update to BadTextStudio
    2. Added Lists
    3. Updated Documentation
1. 1.0.0
    1. First Release

---
_Source: https://npm.io/package/bad-text · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
