i made a class example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { program } from "commander"; | |
import * as fs from 'fs'; | |
import path from "path"; | |
import markdownit from "markdown-it"; | |
import * as d3 from 'd3'; | |
import hljs from 'highlight.js'; | |
// folx warned me about jsdom | |
import slugify from "slugify"; | |
import { DOMParser, parseHTML } from 'linkedom'; | |
import { fileURLToPath } from 'url'; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en" itemscope itemtype="https://schema.org/Article"> | |
<!-- # accessible notebook reference template | |
an accessible reference for computational notebooks based on semantic html | |
--> | |
<head> | |
<!-- ## document properties --> | |
<meta charset="utf-8"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en" itemscope itemtype="https://schema.org/Article"> | |
<!-- # accessible notebook reference template | |
an accessible reference for computational notebooks based on semantic html | |
--> | |
<head> | |
<!-- ## document properties --> | |
<meta charset="utf-8"> |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html itemscope="" itemtype="https://schema.org/Article" lang="en"> | |
<!-- # accessible notebook reference template | |
an accessible reference for computational notebooks based on semantic html | |
--> | |
<head> | |
<!-- ## document properties --> | |
<meta charset="utf-8"/> | |
<title></title> |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html itemscope="" itemtype="https://schema.org/Article" lang="en"> | |
<!-- # accessible notebook reference template --> | |
<head> | |
<!-- ## document properties --> | |
<meta charset="utf-8"/> | |
<title></title> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport"/> | |
<meta content="" itemprop="description" name="description"/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Subjective Priority | Guideline | References |
---|---|---|
A | assume and design for low numeracy | this effects A LOT of people so it is high priority https://accessiblenumbers.com/ |
A | anchors go somewhere and buttons do something | https://css-tricks.com/a-complete-guide-to-links-and-buttons/ |
A | one h1, headings are naturally order for assistive technology users | https://www.tpgi.com/heading-off-confusion-when-do-headings-fail-wcag/ |
A | there is a visual table of contents | |
AA | all nonvisual information is captured in plain text | |
AA | all visual information is captured in plain text |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://hf.co/chat/r/8qoS6Gb | |
// Set up the Web Audio API context and create an oscillator node | |
audioCtx = new (window.AudioContext || window.webkitAudioContext)(); | |
oscillator = audioCtx.createOscillator(); | |
yourArray = [1,2,3,3,2,1] | |
// Calculate the range of pitches to use | |
minVal = Math.min(...yourArray); | |
maxVal = Math.max(...yourArray); |
NewerOlder