Skip to content

WIP: add option to output xexpr of html (new source branch) #519

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

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions scribble-doc/scribblings/scribble/config.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,14 @@ The style classes:

[@spacer @spacer]

[@css{SSubSubSubSection} @elem{Deeply nested subsection (below @tt{<h5>}).}]
[@css{SsectionLevel1} @elem{@tt{<section>} tag enclosing the part introduced by @racket[title].}]
[@css{SsectionLevel2} @elem{@tt{<section>} tag enclosing a part introduced by @racket[section].}]
[@css{SsectionLevel3} @elem{@tt{<section>} tag enclosing a part introduced by @racket[subsection].}]
[@css{SsectionLevel4} @elem{@tt{<section>} tag enclosing a part introduced by @racket[subsubsection].}]

[@spacer @spacer]

[@css{SSubSubSubSection} @elem{Deeply nested subsection heading (below @tt{<h4>}).}]

[@spacer @spacer]

Expand Down Expand Up @@ -401,8 +408,11 @@ The style classes:
[@css{badlink} @elem{Broken cross-reference.}]
[@css{plainlink} @elem{Hyperlink without an underline.}])

In addition, the @css{SIEHidden} style class is built in to all
Scribble HTML output to hide an element on Internet Explorer 6.
In addition, the @tt{<section>} tags are given @tt{id}s of the form @tt{id="section <n>"},
where @tt{<n>} is the section or subsection or subsubsection number. For example, the second
Scribble @racket[section] has an html @tt{<section>} tag with an @tt{id} of @tt{"section 2"},
and the first Scribble @racket[subsection] of the second Scribble @racket[section] has an
html @tt{<section>} tag with an @tt{id} of @tt{"section 2.1"}.

@; ------------------------------------------------------------

Expand Down
3 changes: 2 additions & 1 deletion scribble-lib/scribble/base-render.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
[extra-files null]
[image-preferences null]
[helper-file-prefix #f]
[keep-existing-helper-files? #f])
[keep-existing-helper-files? #f]
[xexpr-out? #f])

(define/public (current-render-mode)
'())
Expand Down
Loading