node-html-to-text
node-html-to-text copied to clipboard
Advanced html to text converter
An idea formed after discussion in #231 Currently table construction is handled with the primitives provided by `BlockTextBuilder`. Formatter walks through the model of an HTML table and calls the...
Hi, I mean some site has their rule such as make `a` block , in this case, need a `\n` in text. For example: ``` inline 1 (no \n) inline...
Getting this error .DefaultHandler is not a constructor in console when using a production build with angular 6 Using the code in a service: const { htmlToText } = require('nxt-html-to-text');...
SNIPPET TO REPRODUCE ``` const htmlToText = require('html-to-text'); let textResponse = htmlToText.fromString('there are definitely
I need to use superscript and subscript like this ``` This text contains subscript text. This text contains superscript text. ``` This text contains subscript text. This text contains superscript...
**The goal**  **Best attempt** `` ` ${item.quantity}` ` ${this.wrapText(item)}` ` ${this.numberWithCommasR(this.totalPerItemList(item))} ` `` **The question** Is there a way to have a fixed width per column...
Is there a way to set HtmlToText to output tab characters to separate html table cells instead of making fixed width columns?
I appreciate this is a node library. Is there a version of this or anything similar that works in the browser?
[44605:0x103ef2000] 45258 ms: Mark-sweep 2049.2 (2054.1) -> 2042.0 (2046.9) MB, 5.7 / 0.0 ms (+ 3.3 ms in 1 steps since start of marking, biggest step 3.3 ms, walltime since...
Hi, Firstly, thanks for the library! It has been a life saver. Secondly, I have an specific use case that I need to extract from a html template and I...