Skip to content

How to Highlight Pug inside <template lang='pug'>? #34

Description

@mzaini30

I put Pug syntax inside this tag but not highlighting it.

<template lang="pug">
	.container.py-3
		h1.text-center Login
		hr
		form
			.mb-3
				label Username
				input.form-control
			.mb-3
				label Password
				input.form-control(type="password")
			.mb-3
				input(type="submit", value="Login").btn.btn-success
		p Belum memiliki akun? #[a(href="/daftar") Buat akun sekarang!]
</template>

<script>
	document.title = "Login"
</script>

How to highlight?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions