Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

169
Views
¿Cómo evitar convertir texto sin formato sin descuento a HTML en commonmarkjs?

Supongamos que hay un conjunto de textos listos para ser analizados a través de commonmarkjs. Algunos de ellos tienen descuento y la mayoría de ellos son texto simple sin descuento, que no necesita conversión. ¿Hay alguna manera de que podamos evitar convertir texto sin formato sin descuento a HTML y solo convertir los textos con descuento? He dado algunos ejemplos a continuación:

  • URL, por ejemplo, My favourite search engine is [Duck Duck Go](https://duckduckgo.com).
  • listas desordenadas, p. ej - First item
  • negrita, por ejemplo, I just love **bold text**.
  • cursiva, por ejemplo, Italicized text is the *cat's meow*.
  • encabezados, por ejemplo, ## Heading level 2

Este conjunto de textos debe convertirse a HTML.

  • My favourite search engine is Duck Duck Go
  • First item
  • I just love bold text
  • Italicized text is the cat's meow.
  • Heading level 2

Este conjunto de textos no debe convertirse a HTML (ya que no tienen descuento)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!