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

Standarize source information (e.g. for images) #4

Open
Lonami opened this issue Jun 6, 2020 · 5 comments
Open

Standarize source information (e.g. for images) #4

Lonami opened this issue Jun 6, 2020 · 5 comments

Comments

@Lonami
Copy link
Collaborator

Lonami commented Jun 6, 2020

What should be the "right way" to add a source link to images? Is this something we want to "standarize" by making it a "builtin" to our generator, or should users remember to be consistent in the way to link to original sources (for images or anything else).

For example, could this work?

![foo](bar.jpg "baz [source](https://example.com"))
@expectocode
Copy link
Owner

Not sure what the best solution is here - to support links in captions would take a bit of reworking of the HTML output, but that is why we "forked" it in the first place.

@Lonami
Copy link
Collaborator Author

Lonami commented Jun 11, 2020

Not only rework the HTML output, but potentially having to re-parse it as markdown during generation, which can get messy.

@expectocode
Copy link
Owner

expectocode commented Dec 9, 2020

What's so messy about re-parsing during generation? :) It could be a neat solution.

@Lonami
Copy link
Collaborator Author

Lonami commented Dec 9, 2020

Tools will most likely not recognise the insides of the string as markdown. We'd be basically making our own language at this point…

https://erikwinter.nl/articles/2020/why-i-built-my-own-shitty-static-site-generator/ is a good post to keep in mind, we want our tool to be as replaceable as any other (which works both ways, to get and lose users).

@expectocode
Copy link
Owner

i think we may have a difference of philosophy here - for me, this tool is about creating a tool that is tuned specifically to do the things I need it to do, and modifying the source code is acceptable for that.

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