1.0.3 • Published 4 years ago
powertrash-bad-text-lang v1.0.3
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;
})
Compile without code (coming soon)
download BadTextCompiler or go to BadTextCompilerOnline
Language
Creating a hello world app
$h1(Hello World!)
Creating bold text
$bold(Test.)
Creating a paragraph
$p(Paragraph)
Creating a list (coming soon)
$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