Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 588 Bytes

authoring_notes.md

File metadata and controls

26 lines (16 loc) · 588 Bytes

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