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

custom table rendering #24

Open
jerCarre opened this issue Jun 22, 2020 · 2 comments
Open

custom table rendering #24

jerCarre opened this issue Jun 22, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request fct_build

Comments

@jerCarre
Copy link
Contributor

Find a way to customize generated tables. For the moment only horizontal alignment can be set in source file (md).

@jerCarre jerCarre added enhancement New feature or request fct_build labels Jun 22, 2020
@jerCarre jerCarre self-assigned this Jun 22, 2020
@jerCarre
Copy link
Contributor Author

A solution can be to write in the configuration yaml a list of header (with asciidoc format). Each one will overwrite previously generated :

table-header:
- [cols="25%,50%,25%"]
- [cols="25%,75%]

in the code we can use awk for replacement (here to replace the second occurrence) :

awk '/\[cols=/ && ++c==2{$0 = "[cols=\"25%\"]"} 1' file.adoc > tmp & mv tmp file.adoc

@docsAsCode
Copy link
Contributor

the first step is to set autowidth (for columns) and full width (for table) in each table of markdown document.

jerCarre pushed a commit that referenced this issue Jun 29, 2020
docsAsCode added a commit that referenced this issue Jul 9, 2020
* #10 allow extra params in diagram declaration

* #10 fix

* #9 add parse_yaml lib

* fix pb with second level in unordered list

* md 2 asciidoc conversion :
* fix pb with checkboxes
* fix  pb with attributes

* remove tmp file

* add special line break for RST

* #9 implement global variable for themes concept

* fix yml heading spaces

* #24 autowidth + column stretch

* #25 fixed

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Jul 9, 2020
* #10 allow extra params in diagram declaration

* #10 fix

* #9 add parse_yaml lib

* fix pb with second level in unordered list

* md 2 asciidoc conversion :
* fix pb with checkboxes
* fix  pb with attributes

* remove tmp file

* add special line break for RST

* #9 implement global variable for themes concept

* fix yml heading spaces

* #24 autowidth + column stretch

* #25 fixed

* #18 fixed in pandoc 2.10

Co-authored-by: Jerome <[email protected]>
jerCarre pushed a commit that referenced this issue Sep 10, 2020
docsAsCode added a commit that referenced this issue Sep 10, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Sep 10, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

* #39

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Sep 11, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

* #39

* #33

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Sep 14, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

* #39

* #33

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Sep 14, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

* #39

* #33

* #33 bug with 2 columns in RST sub blocks

* #43

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Sep 14, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

* #39

* #33

* #33 bug with 2 columns in RST sub blocks

* #43

* #33

Co-authored-by: Jerome <[email protected]>
docsAsCode added a commit that referenced this issue Oct 20, 2020
* fix newslide bug inside included rst

* configure aspell check for en and fr

* aspell config with dict files ; rst image block in build

* check aspell

* #30 not finished

* fix config extension

* upd mermaid install and defin version

* #36

* #37 fixed

* #29 #32

* #33

* #24

* #34

* #39

* #33

* #33 bug with 2 columns in RST sub blocks

* #43

* #33

* #46 fixed

* #35

* #35

* upd

* #33

* #35

* #35

* #49

* new metadata support

* #55 #56

* #35 #19

* add extra font support

Co-authored-by: Jerome <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fct_build
Projects
None yet
Development

No branches or pull requests

2 participants