update to grid-table generator
This commit is contained in:
parent
09408da7ca
commit
37d8c8e30f
2 changed files with 19 additions and 14 deletions
|
@ -51,14 +51,14 @@ class MarkdownGenerator:
|
|||
h = textwrap.wrap(k, h_len, break_long_words=False)
|
||||
wrapper = textwrap.TextWrapper(d_len)
|
||||
|
||||
# t = [wrapper.wrap(line) for line in v.split('\n')] # if line != ''
|
||||
# t = list(itertools.chain.from_iterable(t))
|
||||
|
||||
# split test to wrap lines into correct length
|
||||
t = [wrapper.wrap(line) for line in v.split('\n')]
|
||||
|
||||
# replace empty arrays from split with a empty string
|
||||
t = list(map(lambda e: [""] if e == [] else e, t))
|
||||
t = list(itertools.chain.from_iterable(t))
|
||||
|
||||
# zip items of list
|
||||
t = list(itertools.chain.from_iterable(t))
|
||||
|
||||
# get rows
|
||||
rows = list(itertools.zip_longest(h,t,fillvalue=""))
|
||||
|
|
|
@ -42,13 +42,18 @@ goal:
|
|||
|
||||
content:
|
||||
de: |
|
||||
Inhalte:
|
||||
|
||||
* Wahrnehmung
|
||||
* Visuelle Gestaltung von Graphischen Nutzerschnittstellen
|
||||
* Applikationsdesign mit Fokus auf GUI Konzepte
|
||||
* Nutzerstudien
|
||||
* Evaluierungsmethoden mit interaktiven Systemen
|
||||
* Statistikmethoden für UX-Design
|
||||
|
||||
en: |
|
||||
Content:
|
||||
|
||||
* visual perception
|
||||
* design of graphical user interfaces
|
||||
* application design with focus on GUI concepts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue