akosbalasko / akosbalasko/zoottelkeeper-obsidian-plugin

[Feature]: Custom List Styles

Abierto
#18 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
231
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

There is currently a limitation that only three 'List Styles' are possible.
What I suggest is the ability to define custom styles in the settings.

Most simply, I guess this could be done by replacing the dropdown with two text fields. One for a prefix and another for a suffix.
These variables would then replace the switch statement in `generateFormattedIndexItem`; used to return the completed element `prefix + '[[${path}]]' + suffix`.

The above worked for me, though, as a quick hack. There should probably remain the current option of choosing from the preset styles plus 'other' in the dropdown. Only if 'other' were chosen would the user then be prompted to give a custom prefix and suffix.

Even better would be to give a whole string that somehow delimited where the data (`[[${path}]]`) would be inserted.

Guía de contribución

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

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.