node-html-to-text icon indicating copy to clipboard operation
node-html-to-text copied to clipboard

Advanced html to text converter

Results 48 node-html-to-text issues
Sort by recently updated
recently updated
newest added

Given the following, ``` php Hello, ``` It makes no sense to strip out the `` part. This applies to other template styles, such as `` or shorthand styles ``....

Is it possible to add ANSI stlyes to the output?

The ability to add a "custom" element handler in the options. ``` javascript var options = { custom: function (elem, options) { if (elem.type === 'tag') { return "fizz\n"; }...

Suggested anchor handling: - `` - keep address - `` - process sub elements - `` - keep url, process sub elements - `` - process sub elements - ``...

**Minimal HTML example** ```html 1 2 3 ``` **Options** ```javascript { wordwrap: false, preserveNewlines: false, selectors: [ { selector: 'p', options: { leadingLineBreaks: 0, trailingLineBreaks: 0 } }, { selector:...

Currently if you specify an empty string as an unordered list item prefix it will ignore it because empty string is falsy. I have updated the formatUnorderedList to support empty...

### Problem `import { render } from "dom-serializer"` The dom-serializer package specifies `export default render`, so importing `{ render }` does not work. **Occurs where** Error on build in a...

I think the software is great, but it seems like composer is becoming the go-to option for everything nowadays. However, I believe that using composer to include projects for the...

Hello there, I want to remove the ordered list prefix item: Turn this ``` 1. abc 2. abcd 3. abcde ``` into ``` abc abcd abcde ``` I tried to...