Skip to content

Feature: Ability to hide line count for specific blocks using ignore flag #173

Description

@Aetherinox

One of the older codeblock-styler plugins had the ability to remove the line numbers per each codeblock, and I've not seen such a feature for this one.

In some codeblocks, I add shell commands instead of code, so there's really no use for having numbered lines.

But as it currently sits, all codeblocks enforce line numbers.

This functionality was available in the codeblock-styler plugin by adding the ignore flag to the codeblock.

```shell ignore
/bin/sh ps aux
```

When applying ignore, all you saw was a simple box with the command and syntax highlighting, but no language, no line numbers, etc. Just a copy button.

The only way to get this effect now with the Codeblock Customizer plugin is to combine it with the Obsidian Tabs plugin:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions