Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose a different font for the output #77

Open
leowill01 opened this issue Sep 28, 2020 · 1 comment
Open

Choose a different font for the output #77

leowill01 opened this issue Sep 28, 2020 · 1 comment

Comments

@leowill01
Copy link

Is there any way to specify a different (monospace) font for the HTML output? To get the output HTML in the font SF Mono, for example, I tried:

... | aha -y 'font-family: "SF Mono"'

, but the HTML output is still in what looks like Courier. Disclaimer: I don't really know CSS.

@theZiz
Copy link
Owner

theZiz commented Oct 6, 2020

Me neither. 😁
So I guess to problem is, that the whole aha outout is inside <pre> tags. The font of them you can define with css:

pre {
    font-family: "SF Mono";
}

I saved this as an own file and gave it to the -c parameter of aha, e.g. if you save the css setting as mono.css like this:

… | aha -c mono.css

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants