Files
CreatBotMainsail/docs/features/hide-gcode_macros-by-default.md
lixxbox 4f9581f3a0 docs: split up quicktips (#584)
until now, all features were listed under quicktips. for a better overview and in preparation for further descriptions, the pages will be split into quicktips and features.
2022-01-29 11:05:04 +01:00

38 lines
782 B
Markdown

---
layout: default
title: Hide macros, outputs or fans
parent: Features
nav_order: 50
has_children: false
permalink: /features/hide-gcode_macros
redirect_from:
- /quicktips/hide-gcode_macros
description: >-
You can show and hide G-Code macros in the interface settings
---
# {{ page.title }}
{{ page.description }}
Did you know, that you can also hide gcode macros by prefixing the name with an underscore?
```yaml
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
```
```yaml
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` does not.
![](/assets/img/quicktips/hide-gcode_macros/my_awesome_macro.png)
This also works for other configuration sections including **fans and outputs.**
{: .info}