Skip to content

report.pug's line 72 are wrong? #5

Description

@gkfnf

os: win10
editor: vscode
terminal:gitbash on vscode's terminal

I have no any experience of pug/jade or css/scss. So I decide to type the example code
one by one to learn how to use this.

So, there are two pug errors tortured me.
one is "Invalid indentation, you can use tabs or spaces but not both"
So i retype the code. relaxed the pug file. but it didn't work. And i del it. retype again. it didn't work again. So i guessed that it may be the vim-plugin led to this. and i uninstall it.
reload the vscode. It didn't work. But after change the vscode's theme.
I've got the right way. but occurs another error.

.caption
This also demostrates figure composition into panels -suck it, markdown!
#[b A. ] Graph defined as a JSON and transformed to SVG using ........

the error is: "[b" is not a valid ID.

So i don't understand this time cause i've never wirting any pug before.
So, what's wrong with this code?

And i also get some syntax error remind of file 'report.scss'

@for $i from 1 to 20 {
.width-#{$i}cm { width: #{10*$i}mm; }
}
@for $i from 1 to 20 {
.top-#{$i}mm { margin-top: #{$i}mm; }
}

Does this caused the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions