Open theovier opened 2 years ago
Consider an education.json
file which lists all educational entries of your career:
[
{
"cue": "10/2020 — 10/2021",
"title": "University",
"content": [
"this could be an own paragraph",
"so could this.",
"third paragraph"
]
}
]
it can be parsed and could result in
<entry cue="10/2020 - 10/2021" title="University">
<p>this could be an own paragraph</p>
<p>so could this.</p>
<p>third paragraph</p>
</entry>
It might be the easiest choice to simply parse JSON and have one file per section, e.g. "work-history.json" with could look like
However when we do this, we have to think about a way to enable multi-line content for an entry. Maybe a list of children that are each rendered in an own
<div>
?