bad-text
v1.0.1
Published
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!
Downloads
2
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;
})
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
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.0.1
- New update to BadTextStudio
- Added Lists
- Updated Documentation
- 1.0.0
- First Release