Skip to content

FWL is a simple "language" (javascript functions) designed to build webpages and documents in html, markdown and bbcode...

Notifications You must be signed in to change notification settings

StringManolo/fwl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FWL (Function Web Language)

FWL is a simple "language" designed to build webpages and documents in html, markdown, bbcode...

Write once, and generate documents in multiple formats

Developed by StringManolo example image

All markdown features like bold italic underline are available

//This is my javascript code:
const number = 10;
alert(number);

/* Hope you like */
  • variables
  • predefined css
  • language specific functions
  • ...

  1. simple
  2. fast
  3. portable

fwl is easy

fwl is fast


How to use

  1. Download the fwl.mjs module and import it in the file where you're going to write the document and bind it to global object
  2. In case of node call fwl(global)
  3. If you use a browser call fwl(window)
  4. Set the document type to print
  5. Call create method and inside braces use the functions you need to generate the code.
import fwl from "./fwl.mjs";
fwl(global);
documentType = "bbcode"; //"markdown" "html"

This document is generated using node index.fwl.mjs, use it as an example/reference.

Example of a table:

number in text
1 one
2 two

© 2021

About

FWL is a simple "language" (javascript functions) designed to build webpages and documents in html, markdown and bbcode...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published