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

resolves #34 - add code block formatting for Java #36

Closed
wants to merge 3 commits into from
Closed

resolves #34 - add code block formatting for Java #36

wants to merge 3 commits into from

Conversation

tobiasbueschel
Copy link
Collaborator

I've left f6451f8 & 0898245 attached to this commit as the code formatting block addition references the new filename.

Here is a picture of how the code will look like:

@tobiasbueschel
Copy link
Collaborator Author

It might be nice if we could implement the above using markdown's code notation (this way we comply with the idea of writing only markdown) and get the same syntax highlighting as when using the LaTeX command, e.g.:

System.out.println("hello");

Instead of

\lstinputlisting[style=javaCodeStyle, caption=Main.java]{source/code/HelloWorld.java}

Then again, using LaTeX for importing code from files is quite powerful, so we might just stick with this option?

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

Successfully merging this pull request may close these issues.

1 participant