1KiB
/ Code to PDF
Code
Appearance
Export
Source Code
Language
JavaScript
TypeScript
Python
Java
C++
C
C#
Go
Rust
Ruby
PHP
Swift
Kotlin
HTML
CSS
SQL
Bash/Shell
JSON
XML
YAML
Markdown
Plain Text
Code
function greet(name) { console.log(`Hello, ${name}!`); return `Welcome, ${name}!`; } // Call the function const message = greet('World'); console.log(message);
Load from File
Header
Include header
Title
Author
Include date
Theme
Color Scheme
Light
Dark
Font
Font Size (pt)
9pt
Line Height
1.4
Display Options
Show line numbers
Wrap long lines
Page Size
Size
A4 (210 × 297 mm)
Letter (8.5 × 11 in)
Legal (8.5 × 14 in)
Orientation
Portrait
Landscape
Margins (mm)
Top
Bottom
Left
Right
Page Options
Export as single page (auto-height)
Content exceeds PDF maximum height (5080mm). Some lines may be cut off.
Show page numbers
Generating preview...