Support tight lists

Abierto
#388 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
markdown, react, typescript
Área
content, frontend

Línea de trabajo

Start by comparing how the WYSIWYG editor converts list markup and how markdown-it renders tight versus non-tight lists. Locate the existing list serialization and rendering tests, then add coverage for list-item indentation and verify that the editor preserves the tight-list structure. The issue does not identify specific files, so the implementation entry points must first be found from the editor and markdown-it integration code.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
Description

In markdown-it lists rendered differently depending on the indentation between the list items (look at the distance between the elements):

Markup Result
image image
image image

But wysiwyg editor always convert all lists to non-tight lists (lists with bigger distance between the elements)

Proposal

Let's preserve indentation between the list items and fully support tight lists

Lenguaje dominante
TypeScript
Estrellas
428
Forks
48
Merge medio
5 d 15 h
PR fusionados (30 d)
47

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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.

Más de gravity-ui/markdown-editor

Todos los issues de gravity-ui/markdown-editor

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.