spring-io / spring-asciidoctor-backends

A backend for Asciidoctor used to produce Spring styled HTML
Apache License 2.0
79 stars 16 forks source link

Don't render @fold:* as blank line when expanded #35

Open toedter opened 3 years ago

toedter commented 3 years ago

Java code like:

// @fold:on
@Data
@NoArgsConstructor
@AllArgsConstructor
@With
// @fold:off
public class Movie {
    private String id;
    private String title;
}

is currently rendered (folding expanded) like:

@Data
@NoArgsConstructor
@AllArgsConstructor
@With

public class Movie {
    private String id;
    private String title;
}

I prefer if it would be rendered like:

@Data
@NoArgsConstructor
@AllArgsConstructor
@With
public class Movie {
    private String id;
    private String title;
}

What do you think?