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

Language injection #1363

Merged
merged 11 commits into from
Apr 22, 2020
Merged

Language injection #1363

merged 11 commits into from
Apr 22, 2020

Conversation

PHPirates
Copy link
Collaborator

@PHPirates PHPirates commented Apr 18, 2020

Part of #101

image

Summary of additions and changes

  • Add intention to insert magic comment
  • When magic comment or language option of lstlisting is used, inject language

How to test this pull request

\begin{lstlisting}[language=Kotlin,label={lst:lstlisting}]
fun Int?.ifPositiveAddTwo(): Int =
        this?.let {
        if (this >= 0) this + 2
            else this
} ?: 0
\end{lstlisting}

Wiki

  • Updated the wiki:

@PHPirates PHPirates added this to the b0.6.10 milestone Apr 18, 2020
@PHPirates PHPirates self-assigned this Apr 18, 2020
@PHPirates PHPirates marked this pull request as draft April 18, 2020 15:20
@PHPirates PHPirates marked this pull request as ready for review April 21, 2020 18:58
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.

3 participants