Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending the Web Blog: images between text blocks #443

Open
ClausSamuelsen opened this issue May 22, 2024 · 4 comments
Open

Extending the Web Blog: images between text blocks #443

ClausSamuelsen opened this issue May 22, 2024 · 4 comments

Comments

@ClausSamuelsen
Copy link

I really like the Blog feature in the Gramps Web, but I would like it to be able to be more "blog" like, e.g. having images between text blocks as well as sub headers etc.
My immediate idea is to have multiple notes for one source and to use markdown in the notes.

@DavidMStraub DavidMStraub added the enhancement New feature or request label May 31, 2024
@DavidMStraub
Copy link
Member

Agreed that having images in between text would be very useful. One guiding principle has to be that the note format is compatible with Gramps desktop though, so allowing Markdown is not an option until it's supported by Gramps core.

@ClausSamuelsen
Copy link
Author

I don't see how markdown characters (##, ** etc) in a note can conflict with Gramps desktop, as markdown is just text. Gramps desktop doesn't need to do anything with markdown in notes, same as Gramps desktop doesn't need to do anything about a source that has a tag 'Blog' attached.
Besides that, I fully agree that Gramps Web features must not conflict with Gramps desktop.

@DavidMStraub
Copy link
Member

I don't see how markdown characters (##, ** etc) in a note can conflict with Gramps desktop, as markdown is just text. Gramps desktop doesn't need to do anything with markdown in notes, same as Gramps desktop doesn't need to do anything about a source that has a tag 'Blog' attached.

I don't agree, mixing Markdown syntax and Gramps styled text will lead to all kind of annoying behaviour. The only thing I could imagine is using Markdown while typing, and converting it to the appropriate tags when storing the note. But Gramps styled text doesn't support headings and many other Markdown features. So let's ignore Markdown & subheadings for now and focus on the images between text in this issue.

@DavidMStraub DavidMStraub changed the title Extending the Web Blog [Feature request] Extending the Web Blog: images between text blocks Jun 29, 2024
@DavidMStraub
Copy link
Member

DavidMStraub commented Jun 29, 2024

On the images between text blocks: I thought about it and I think the best solution would be to use

Text 1

Link to image

Text 2

The "Link to image" would be just a link in Gramps Desktop, and would turn into the caption of the image on Gramps Web, with the image displayed above it.

@DavidMStraub DavidMStraub removed the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants