Breadcrumbs
Breadcrumbs configuration for CodeSnap
Breadcrumbs are a powerful feature in CodeSnap that allows you to add context to your code snippets. They can be used to indicate the file path, helps viewers understand the code better.
First, you need to enable breadcrumbs:
The output will be like this:
Custom breadcrumbs separator
You can also customize the breadcrumbs separator, which is a string that will be used to separate the breadcrumbs. By default, it is set to "/"
, but you can change it to any string you want.
Or more interesting, you can use a custom separator like this: