You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 12, 2026. It is now read-only.
Large ligne of code are cut when the doc is formatted in PDF
Expected behavior
I think the line should not be cut, but instead the rest of the line that can not be shown on the screen must be shown on the next line.
Steps to reproduce
write a code inside a md page like c some code
My code:
#!/bin/bash#Fonction de création d'un utilisateur avec 5 à 10 fichiers de 10 à 100MocreateUser()
(
X=$((10+$RANDOM%31))
user="user$X"if grep "$user" /etc/passwd > /dev/null;thenecho -e "L'utilisateur $user existe déja, un autre sera créé à la place."else useradd $user --home /home/$user --create-home --shell /bin/bash > /dev/null;echo -e "nL'utilisateur $user avec le mot de passe $user a été créé."echo -e "$usern$user"| passwd $user2> /dev/null;
fileNumber=$((5+$RANDOM%6))forfin`seq 1 $fileNumber`do
fileSize=$((20+$RANDOM%100))
fallocate -l $fileSizeM"/home/$user/fic$f"if [ -f /home/$user/fic$f ]
thenecho"Le fichier fic$f ($fileSize Mo) a bien été créé dans /home/$user"
createdFiles=$((createdFiles+1))elseecho"Le fichier fic$f n'a pas été créé"fidoneecho"$createdFiles/$fileNumber fichiers ont été créés dans /home/$user."fi
)
while [ `grep -c "^user" /etc/passwd`!= 10 ]
do
createUser
done
export to pdf
look at the code
Environment
Version : Boostnote 0.11.11
OS Version and name : Manjaro Linux
4.19.13-1-MANJARO
There is a $30.00 open bounty on this issue. Add more on Issuehunt.
Activity
IssueHuntBot commentedon May 1, 2019
@BoostIO has funded $30.00 to this issue.
Flexo013 commentedon Nov 30, 2019
Preview:

PDF export:

Version 0.13.0
[-]Code is cut in pdf[/-][+]Long code lines do not wrap in PDF exports[/+]shriram-svg commentedon May 11, 2026
Opened a PR for this funded issue: #3787
The fix adds print-specific wrapping for exported code blocks so long lines wrap in PDF output instead of being clipped.
Verified with the new
formatHTMLJest test, touched-file ESLint, andgit diff --check. Existing full-suite/lint failures are noted in the PR body.