On Sunday, 16 March 2025 at 18:02:54 UTC, Adam D. Ruppe wrote:
On Sunday, 16 March 2025 at 17:50:44 UTC, Anonymouse wrote:
Lastly then, is there any CSS wizardry to be used to make it
word-wrap?
Yeah, I specifically disabled word wrap for code blocks because
I prefer horizontal scrolling them
On Sunday, 16 March 2025 at 17:50:44 UTC, Anonymouse wrote:
Lastly then, is there any CSS wizardry to be used to make it
word-wrap?
Yeah, I specifically disabled word wrap for code blocks because I
prefer horizontal scrolling them in a browser.
Add this either to that same media print block,
On Sunday, 16 March 2025 at 17:33:43 UTC, Adam D. Ruppe wrote:
On Sunday, 16 March 2025 at 17:27:22 UTC, Anonymouse wrote:
Is getting rid of the sidebar non-trivial? I get
https://i.imgur.com/ropgZWj.png when printing to PDF.
I never even considered someone would try to print it lol.
The use
On Sunday, 16 March 2025 at 17:27:22 UTC, Anonymouse wrote:
Is getting rid of the sidebar non-trivial? I get
https://i.imgur.com/ropgZWj.png when printing to PDF.
I never even considered someone would try to print it lol. Should
be easy enough to add some css like
```
@media print {
#pag
On Sunday, 16 March 2025 at 17:07:45 UTC, Adam D. Ruppe wrote:
On Sunday, 16 March 2025 at 16:26:55 UTC, Anonymouse wrote:
`adrdox` [...] but I have a need for the source files
themselves.
adrdox --help
-u --genSource Generate annotated source
use that -u thing and it spits
On Sunday, 16 March 2025 at 16:26:55 UTC, Anonymouse wrote:
`adrdox` [...] but I have a need for the source files
themselves.
adrdox --help
-u --genSource Generate annotated source
use that -u thing and it spits out source too with links
everywhere just like you see at
htt
I want to generate PDFs of the individual source files of my
project. Preferably with syntax highlighting, but if pressed I
could live without it for this particular case. I would like line
numbers though.
HTML is fine too as I could just print them to PDF.
`dub build -b docs` and `ddox` and
On Tuesday, 25 February 2025 at 00:34:45 UTC, Jonathan M Davis
wrote:
For strings, the way that you normally do constants is with
enum, e.g
enum foo = "dlang";
An enum like this is called a manifest constant. And you use
manifest constants for most constants in D, with the caveat
that fo