3 ms·
When using it as a lib you can pass a markdown string (https://github.com/get-alex/alex#markdownvalue-config https://github.com/get-alex/alex#markdownvalue-conf
by kimburgess 4y ago
When using it as a lib you can pass a markdown string (https://github.com/get-alex/alex#markdownvalue-config https://github.com/get-alex/alex#markdownvalue-config) or raw text string (https://github.com/get-alex/alex#textvalue-config https://github.com/get-alex/alex#textvalue-config). This will return an object that should contain everything you need to perform a naive replacement.