module.exports = { id: 'code-and-quotations', title: 'Code & quotations', keywords: [`code`, `pre`, `kbd`, `blockquote`, `quotation`], description: '

Code blocks and quotation elements are styled using custom rules that help make them stand out from the rest of the text, while inline code and keyboard input tags are styled in a similar manner, while aiming not to break the flow of regular text.

', example: `

This is some text with some inline source code and some keyboard input.

function sum(num1, num2){
  return num1 + num2;
}
This is some text quoted from elsewhere.
`, samples: [ `
<p>This is some text with some inline <code>source code</code> and some keyboard <kbd>input</kbd>.</p>
<pre>function sum(num1, num2){
  return num1 + num2;
}</pre>
<blockquote cite="www.quotation.source">This is some text quoted from elsewhere.</blockquote>
` ], notes: [ `The cite attribute of <blockquote> elements is not mandatory and can be omitted. The element's sizing will be automatically adjusted according to the presence of the cite attribute.` ], customization: [ `Text color can be changed globally by changing the value of the --fore-color variable. This will affect the text color of <code> and <pre> elements and background color of <kbd> elements.`, `Background color can be changed globally by changing the value of the --back-color variable. This will affect the background color of <blockquote> elements and text color of <kbd>.`, `You can change the background color of <code> and <pre> elements by changing the value of the --secondary-back-color variable.`, `You can change the text color of <blockquote> elements by changing the value of the --secondary-fore-color variable.`, `You can change the border color of <pre> and <blockquote> elements by changing the value of the --secondary-border-color variable.`, `You can change the border color of the left border of <pre> elements by changing the value of the --pre-color variable.`, `You can change the border color of the left border of <blockquote> elements by changing the value of the --blockquote-color variable.`, `Universal margin for elements can be changed globally by changing the value of the --universal-margin variable. As a rule of thumb, consider the universal margin to be the distance you want your paragraphs to have from the sides of the screen.`, `Universal padding for elements can be changed globally by changing the value of the --universal-padding variable.`, `Universal border radius for elements can be changed globally by changing the value of the --universal-border-radius variable.` ], modifiers: [], dos: [], donts: [] } /* Modifiers: { title : '', description: '', example: '', samples: [] } Dos/Donts: { description: '', sample: '' } */