New Post Add-in Strips Helpful Comments From YAML #560 - GitHub
Maybe your like
Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} rstudio / blogdown Public
Labelsan unexpected problem or unintended behaviorto consider for next release
apreshillopened on Jan 5, 2021
- Notifications You must be signed in to change notification settings
- Fork 323
- Star 1.8k
- Code
- Issues 24
- Pull requests 5
- Actions
- Security 0
- Insights
Description
In the academic theme, the archetype files are helpfully commented like:
https://github.com/rbind/apreshill/blob/master/archetypes/post/index.md
--- # Documentation: https://sourcethemes.com/academic/docs/managing-content/ title: "{{ replace .Name "-" " " | title }}" subtitle: "" summary: "" authors: [] tags: [] categories: [] date: {{ .Date }} lastmod: {{ .Date }} featured: false draft: false disable_jquery: false # Featured image # To use, add an image named `featured.jpg/png` to your page's folder. # Focal points: Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight. image: caption: "" focal_point: "" preview_only: false # Projects (optional). # Associate this post with one or more of your projects. # Simply enter your project's folder or file name without extension. # E.g. `projects = ["internal-project"]` references `content/project/deep-learning/index.md`. # Otherwise, set `projects = []`. projects: [] ---But when I use the new-post addin I see:
--- title: Test author: Alison Hill date: '2021-01-05' slug: [] categories: [] tags: [] subtitle: '' summary: '' authors: [] lastmod: '2021-01-05T07:35:43-05:00' featured: no image: caption: '' focal_point: '' preview_only: no projects: [] ---Can blogdown preserve comments in the YAML here? Oftentimes the comments are the 'documentation' for the theme.
Metadata
Metadata
Assignees
cderv
Labels
an unexpected problem or unintended behaviorto consider for next releaseType
No typeProjects
No projectsMilestone
No milestoneRelationships
None yetDevelopment
No branches or pull requestsIssue actions
You can’t perform that action at this time.Tag » Add Comments In Yaml
-
YAML - Comments - Tutorialspoint
-
How Do You Do Block Comments In YAML? - Stack Overflow
-
Add Comments To YAML File - WPLauncher - Courses
-
Learn YAML Comments - Inline And Block Level ...
-
How To Write Comments In YAML
-
How To Block Comments In YAML ? - GeeksforGeeks
-
Inline And Block Comment In YAML File - ProgrammingBasic
-
How To Comment In Yaml Code Example
-
GitHub Actions — How To Add Comments In YAML Files
-
YAML Comments - Linux Hint
-
Comment Operators - Yq - GitBook
-
Create And Save YAML Files With Comments - Gists · GitHub
-
AWS CloudFormation Template Formats
-
YAML Comments - Javatpoint