Forrest logo
tool overview
On this page you find all important commands for the CLI tool carbon-now. If the command you are looking for is missing please ask our AI.

carbon-now

Carbon-now is a command-line tool that allows you to quickly generate beautiful images of your source code snippets. It allows you to customize the appearance of the code snippet and generate a ready-to-share image that can be used in documentation, presentations, or social media.

Some notable features of carbon-now include:

  1. Easy customization: You can choose from a wide range of syntax themes, font sizes, and styles to customize the appearance of your code snippet. This allows you to match the visual style of your project or create a visually appealing image for sharing.

  2. Various export options: The tool allows you to export the generated images in different formats like PNG, SVG, or even directly to your clipboard. This flexibility enables you to easily integrate the images into your preferred workflow or platform.

  3. Integration with popular code editors: Carbon-now provides integrations with popular code editors like Visual Studio Code and Atom. This allows you to generate code snippets directly from your editor without the need to switch to the command line.

  4. Multiple input options: You can either provide the source code as a file or directly type it into the command-line tool. This makes it convenient to generate images for both existing code files and ad-hoc code snippets.

Overall, carbon-now simplifies the process of creating visually appealing code snippets that can enhance your code sharing and documentation efforts.

List of commands for carbon-now:

  • carbon-now:tldr:58600 carbon-now: Create an image from a text in clipboard using default settings.
    $ carbon-now --from-clipboard
    try on your machine
    explain this command
  • carbon-now:tldr:7b9f8 carbon-now: Create an image from a file using default settings.
    $ carbon-now ${filename}
    try on your machine
    explain this command
  • carbon-now:tldr:7caa6 carbon-now: Create images from previously saved preset.
    $ carbon-now -p ${preset} ${filename}
    try on your machine
    explain this command
  • carbon-now:tldr:8e33a carbon-now: Create images interactively for custom settings and optionally save a preset.
    $ carbon-now -i ${filename}
    try on your machine
    explain this command
  • carbon-now:tldr:e079b carbon-now: Open image in a browser instead of saving.
    $ carbon-now --open ${filename}
    try on your machine
    explain this command
  • carbon-now:tldr:e40d4 carbon-now: End at a specific line of text.
    $ carbon-now -e ${line} ${filename}
    try on your machine
    explain this command
  • carbon-now:tldr:fbe47 carbon-now: Start at a specified line of text.
    $ carbon-now -s ${line} ${filename}
    try on your machine
    explain this command
tool overview