Sorry for the title. I couldn't be clear.
I'm trying to develop a CSS library where I stylize each element and give each one an example HTML page.
However, I came across these two elements (
) whose examples should be shared as they are always used together. Here is the sample code:
It was a bright cold day in April, and the clocks were striking thirteen.
(Code by MDN contributors, page link above.)
So, to demonstrate these two elements, I have to put the examples in two directories that look like this:
+-- cite +-- index.css +-- index.html +-- blockquote +-- index.css +-- index.html
So, I am generating duplicate code and I really want to get by because I need to update these examples in the future when, say, changes to the MDN documentation. And of course, there is more.
I researched the StackExchange network and was surprised not to find a question on it, so I must have been using the wrong keywords. Please suggest.
As this question is not specific to HTML, I do not add the tags.
Therefore, please help me on the best way to make a file appear in two directories. If this is not possible, perhaps limiting it to files of certain types would be helpful.
If this is still impossible, I would like to know the best way to tolerate this. Thanks in advance and again sorry for the title.