简体   繁体   中英

How can I make codes in my web page word wrap into a fixed page-width

http://hypergroups.pancakeapps.com/GitHub.html

batFile = "E:\\Users\\HyperGroups\\AppData\\Local\\GitHub\\PortableGit_015aa71ef18c047ce8509ffb2f9e4bb0e3e73f13\\git-cmd.bat" ;

How can I add something like a markdown scroll bar? and can copy to Mathematica Notebook to evaluate?


I add a new line, but I cannot copy to Mathematica to Evaluate now

batFile = "E:\\Users\\HyperGroups\\AppData\\Local\\GitHub\\PortableGit_015aa
71ef18c047ce8509ffb2f9e4bb0e3e73f13\\git-cmd.bat" ;

在此处输入图片说明

Apply

word-wrap: break-word;

to Input Class.

It is defined on Line : 19 of GitHub.css

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM