Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 939 Bytes

authoring_notes.md

File metadata and controls

35 lines (23 loc) · 939 Bytes

directory structure

  • sections (or src in the future):
    • only allowed files are json files, md files and exercise solutions
  • exercises (may be contained in src in the future): exercise tasks in markdown + solutions
  • assets (may be in src in the future): images
  • build: build scripts
  • pages: pages of old website (deprecated)

image styles

recommended styling approaches:

  • width: 70%
  • height: 16em

images should not be sized via vw / vh

svgs

included svgs will not keep any attributes - these will be replaced by attributes from the svg source; therefore, a style cannot be specified on an svg directly; an alternative would be wrapping the svg in a figure and styling the figure

example:

<figure style="width: 50%; margin: 0 auto">
  <img src="assets/spoon-fork-animated.svg" />
</figure>

line length for code

currently 60 (see sections/prettierrc.json)

could be up to 65