NotePlan / NotePlan/plugins

Templating issue - code fences are getting wiped out

Abierto
#387 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@mikeerickson ya está trabajando en esto.

Desde el 10/1/2023.

bug P-7
Lenguaje dominante
JavaScript
Estrellas
204
Forks
82
Merge medio
22 h 27 min
PR fusionados (30 d)
3

Descripción

As reported in this, thread. He is seeing two issues:

) the well-known bug related to --- being replaced with five stars. Minimally, this should only replace frontmatter at the front of the file. Not globally, in the middle of lines.
2) code fence markers in a template are being completely wiped out by the template rendering.

https://discord.com/channels/763107030223290449/1043533276503080981/1062448128093065318

Here's a test case template which displays both errors:

https://discord.com/channels/763107030223290449/1043533276503080981/1062221709693956127

and the text which should render if it worked correctly (for the test case) -- assuming 2023, and 01 were entered for the prompts:

https://discord.com/channels/763107030223290449/1043533276503080981/1062225085664088134

cc: @antonyskylar

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.