Skip to content

Instantly share code, notes, and snippets.

Avatar

Sean Wallis sean-ww

View GitHub Profile
View pdfLanguageStructure
/P % Start of marked-content sequence
BDC
(Good morning, or in Dutch you might say, ) Tj
/Span << /Lang (nl-Nl) >>% Start of nested marked-content sequence
BDC
(goedemorgen.) Tj
EMC% End of nested marked-content sequence
EMC% End of marked-content sequence
View languagePart
<p lang="en">
He felt like he'd been there before. He had a feeling of <span lang="fr">‘déjà vu’</span>. Perhaps it was a familiar smell, or something.
</p>
View languageAttributes
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "https://www.w3.org/TR/html4/strict.dtd">
<html lang="fr">
<head>
<title>Document français</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
Document écrit en français.
</body>
</html>
View textareaMaxlength
<div class="example-form">
<label
for="my-textarea"
id="my-textarea-count"
>
My Textarea
</label>
<textarea
id="my-textarea"
class="form-control"
View characterCountExample
<div class="example-form">
<label
for="my-textarea"
id="my-textarea-count"
aria-live="polite"
aria-atomic="true"
>
My Textarea
<span class="character-count-start">(</span>
<span class="character-count-number">100</span>
View unreleasedChangelogYaml
# changelogs/unreleased/story-5.yaml
changes:
- type: added # changed, removed, added
component: carousel
description: Added something to the carousel.
- type: removed
component: footer
description: Removed the footer component.
View mergeConflictChangelogExample
---
title: Changelog
status: ready # draft, ready
---
All notable changes to this project will be documented in this file.<br>
The format is based on [Keep a Changelog](http://keepachangelog.com)
## [2.0.0] - Unreleased
### Added