Skip to content

Conversation

tarleb
Copy link
Collaborator

@tarleb tarleb commented Nov 26, 2024

Use jog instead of walk.

@tarleb tarleb force-pushed the jog-as-default branch 4 times, most recently from ba50d2c to 77dab74 Compare November 27, 2024 11:53
@tarleb tarleb marked this pull request as ready for review November 27, 2024 13:13
@tarleb tarleb changed the title [WIP] Use jog to as the traversal method in filters Use jog to as the traversal method in filters Nov 27, 2024
@tarleb
Copy link
Collaborator Author

tarleb commented Dec 6, 2024

The function used to traverse a node is now always stored in the _quarto.traverse field. It defaults to walk, but is set to jog for most filters.

{ name = "normalize-table-merge-raw-html", filter = table_merge_raw_html() },
{ name = "normalize-table-merge-raw-html",
filter = table_merge_raw_html(),
traverse = 'jog',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
  name =...
  traverser = 'pandoc', -- :walk{}
  filter = {
     ...,
     traverse = 'typewise', -- or 'topdown'
  }
}

@cscheid cscheid merged commit 45fc32a into quarto-dev:main Jan 17, 2025
47 checks passed
@tarleb tarleb deleted the jog-as-default branch January 20, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants