Skip to content

patfinder/html2fb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html2fb

Convert HTML to Facebook post format

Algorithm

  • Start from root node
  • Traverse all current node. If there are formatter, push to the format-stack
  • For each node, traverse all it child nodes
  • If this is leaf node, write output
    • Combine all the formatters when writing the output
    • Supported formatter: list (ordered, unordered), bold, itatic, indent (?)

About

Convert HTML to Facebook post format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published