igumnoff / shiva

Shiva library: Implementation in Rust of a parser and generator for documents of any type
https://docs.rs/shiva
Apache License 2.0
290 stars 16 forks source link

`markdown` to `html` fails on links on relatively simple markdown doc #126

Open jmetz opened 3 weeks ago

jmetz commented 3 weeks ago

As in #125, using https://sdsawtelle.github.io/attachments/resume.md, shiva conversion to html gives:

Sonya Sawtelle
======

#### Data scientist with a strong background in math, science and programming.
###### [ [website](http://sdsawtelle.github.io) ] . [ [linkedin](www.linkedin.com/in/sonya-sawtelle-data-scientist) ] . [ [github](https://github.com/sdsawtelle) ] . [ [sonya.sawtelle@aya.yale.edu](mailto:sonya.sawtelle@aya.yale.edu) ] . [ 802 461 3429 ]

Skills
------

to

<!DOCTYPE html>
<html>
<body>
<h1>Sonya Sawtelle</h1>
<h4>Data scientist with a strong background in math, science and programming.</h4>
<h6>[ website</h6>
<h2>Skills</h2>

Renders result

image

jmetz commented 3 weeks ago

As a reference, comrak on the same input renders correctly;

image

evgenyigumnov commented 3 weeks ago

confirm

are you ready to fix it?

jmetz commented 2 weeks ago

No sorry, I don't know this crate well enough and don't have availability right now. If this doesn't get resolved and I find the time I'll let you know.