Documenting code in HyperCode
How to insert comments in your posts
HyperCode allows you to document your code with hidden comments for the reader visiting your site. See how.
In the computational sense, "Documenting" a file has a different meaning from everyday usage. It means inserting, into some code, human-readable annotations that facilitate understanding and do not alter the behavior of the code.
HyperCode allows you to document the code, that is, insert comments, which help guide whoever is writing or editing it, but which do not appear to the visitor. You can, for example, put the comment "Update the image when the photographer sends the new photo" in a post, to remind yourself of it, without it appearing to the visitor.
A comment can also be used to neutralize a part of the text that you want to temporarily hide, but not permanently delete, for example, while awaiting a review.
To insert a comment in the code in HyperFluxCMS, you must mark the beginning of the commented block with [! and end it with !]. Everything that is between the start and end markers will be ignored. It will not appear to the site visitor, nor will it be indexed, nor will it appear in the HTML code.
Example:
And so we successfully conclude another end-of-year gathering among the project's friends and collaborators.
[! reminder: insert more event photos !]