Replies: 1 comment 1 reply
-
Yes! Well, sort of. Something like that sort of exists already, though I've done a terrible job of documenting it. Statiq has a full REPL you can use while in preview mode: Running And here's getting some specific metadata from a document: That's not entirely the same as a full info method, but I love the idea - there's an existing issue to add something exactly like this to the REPL here: statiqdev/Statiq.Framework#208 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Inspired by
phpinfo()
, it would be useful to have a static helper class which accepts the current document and prints all document information (front matter, content), global settings, and other diagnostic information. This is helpful for developers who are building custom pages and are trying to identify what property needs to be retrieved or overridden in order to achieve the desired result.Does anything like this exist currently or is this something we would be interested in adding to Statiq?
Beta Was this translation helpful? Give feedback.
All reactions