Skip to content

Commit

Permalink
improve style
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hardman <[email protected]>
  • Loading branch information
dhh1128 committed Sep 7, 2024
1 parent 3bbe3f1 commit 1311a69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/favicon.png' | relative_url }}"?>
<link rel="icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}">
6 changes: 3 additions & 3 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body {
font-weight: 400;
font-size: 12pt;
background-color: white;
color: black;
color: #444;
}
h1, h2, h3 {
font-family: 'Barlow Condensed';
Expand Down Expand Up @@ -44,7 +44,7 @@ a { color: #914f37 }
a:hover {
font-weight: inherit;
color: #491705;
border-bottom: solid 1px #914f37;
border-bottom: solid 1px #e0b69cff;
}
a:visited { color: #914f37 }
a:visited { color: #765043 }

8 changes: 4 additions & 4 deletions dev-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Implementing support for CFAs requires you to answer the following questions:

1. Do you intend to create CFAs, or to recognize / enforce / react to CFAs, or both?
1. Do you intend to *create* CFAs, or to *react to* CFAs, or both?
2. Which [strategies](strategies.md) will you support?
3. Which file and container types will you support?

Expand All @@ -14,8 +14,8 @@ Creating external CFAs in a specific context (e.g., binding email attachments to

```pseudocode
def sidecar(pre, extension):
return *pre* + extension
def common(co, extension):
return pre + extension
def shared_stem(co, extension):
return basename(co) + extension
def infix(stem, extension):
return stem + '--' + next_infix()
Expand All @@ -39,7 +39,7 @@ If you're already writing rich file content, such that adding metadata or inline

Recognizing and reacting to external CFAs is also easy. When you manipulate a file, check for files in the same container that are associated with the one you're operating on. If you see associations that use the sidecar, common stem, or suffix strategies, help the user maintain the set intelligently. You'll probably need to write a few functions, but nothing ambitious.

The most powerful CFAs use CFA statements. These can be parsed efficiently with regular expressions, but because they live inside file content, you must scan files to find them, and that means you may need support for various file formats. A library should help you with this.
The most powerful CFAs use [metadata](strategies.md#metadata) or [inline content](strategies.md#inline-content) strategies. These strategies can be parsed efficiently with regular expressions, but because they live inside file content, you must scan files to find them, and that means you may need support for various file formats. A library should help you with this.

## Statement Syntax
A slightly simplified ABNF for a CFA statement is:
Expand Down

0 comments on commit 1311a69

Please sign in to comment.