File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,30 +103,6 @@ The structure of a content file should be:
103103 2. **Why It Matters** : Explains the background to why the function was originally standardized, e.g. what historical problems it solves.
104104 3. **Example** : A short, interactive example how the feature can be used in code.
105105
106- # ### Code Editors
107-
108- Each feature should include a sample snippet that shows how it can be used in code.
109- The snippet helps the reader to better understand the feature and to try it out directly in the browser.
110-
111- Markdown multiline code blocks are expected (triple backticks).
112- For C++ features, a **`cpp`** block is expected; for C it's **`c`**.
113-
114- Example of how it looks on cppstat :
115-
116- <picture>
117- <source media="(prefers-color-scheme : dark)" srcset="assets/feature_example_editor_dark.webp">
118- <source media="(prefers-color-scheme : light)" srcset="assets/feature_example_editor_light.webp">
119- <img alt="Logo" src="assets/feature_example_editor_light.webp" width="600">
120- </picture>
121-
122- The frontmatter of a content file can specify the following properties :
123-
124- - **execute**: If `true`, allows execution of the program. (default: `false`)
125- - **flags**: Extra flags to pass to the compiler. (default: latest standard of the feature's language + `-O2`)
126- - **show_assembly**: If `true`, adds an assembly output tab to the compilation result. (default: `false`)
127-
128- ---
129-
130106# ## Toolchains
131107
132108Toolchains are declared in the `toolchains.yaml` file.
You can’t perform that action at this time.
0 commit comments