entangled-cli 2.1.0__tar.gz → 2.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/PKG-INFO +1 -1
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/hooks/quarto_attributes.py +5 -2
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/pyproject.toml +1 -1
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/LICENSE +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/README.md +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/__init__.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/code_reader.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/__init__.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/brei.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/new.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/status.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/stitch.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/sync.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/tangle.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/commands/watch.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/config/__init__.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/config/language.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/config/templates.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/config/version.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/construct.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/document.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/errors/__init__.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/errors/internal.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/errors/user.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/filedb.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/hooks/__init__.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/hooks/base.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/hooks/build.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/hooks/shebang.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/hooks/task.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/logging.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/main.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/markdown_reader.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/parsing.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/properties.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/py.typed +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/status.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/tangle.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/text_location.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/transaction.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/utility.py +0 -0
- {entangled_cli-2.1.0 → entangled_cli-2.1.1}/entangled/version.py +0 -0
|
@@ -21,7 +21,7 @@ class Hook(HookBase):
|
|
|
21
21
|
self.config = config
|
|
22
22
|
|
|
23
23
|
def on_read(self, code: CodeBlock):
|
|
24
|
-
log.debug(
|
|
24
|
+
log.debug("quarto filter: %s", code)
|
|
25
25
|
|
|
26
26
|
if code.language is None:
|
|
27
27
|
return
|
|
@@ -32,8 +32,11 @@ class Hook(HookBase):
|
|
|
32
32
|
if line.startswith(trigger))
|
|
33
33
|
|
|
34
34
|
attrs = yaml.safe_load(header)
|
|
35
|
+
if attrs is None:
|
|
36
|
+
return
|
|
37
|
+
|
|
35
38
|
if "id" in attrs:
|
|
36
39
|
code.properties.append(Id(attrs["id"]))
|
|
37
40
|
code.properties.extend(Attribute(k, v) for k, v in attrs.items())
|
|
38
41
|
|
|
39
|
-
log.debug(
|
|
42
|
+
log.debug("quarto attributes: %s", attrs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|