Views pages only respond to the .md suffix and the /markdownify/ prefix.
When triggered with the Accept: text/markdown header, the Content-Type: text/markdown header and ?_format=markdown query parameter response is: "No route found for the specified format. Supported formats: html."
Issue fork markdownify-3590402
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
xlyz commentedComment #5
robert-arias commentedAdded correct handling of metadata. BubbleableMetadata::merge() clones $this and returns a new object, it doesn't mutate it, so views with pagers and filters were getting the same response as the first page, because of caching.
Comment #8
christophweber commentedLooks good to us, thank you! Rebased and merged into 1.1.x.
Comment #9
christophweber commentedComment #11
gillesbailleux@christophweber: though the markdownify_views module is enabled using the v1.2.0 release, views produce a fatal error (HTTP 500) when accessed with the .md suffix.
Error: Typed property Drupal\views\Routing\ViewPageController::$contextualLinks must not be accessed before initialization in Drupal\views\Routing\ViewPageController->handle() (line 72 of core/modules/views/src/Routing/ViewPageController.php).Tested on Drupal 11.4.5 / PHP 8.4.24.