File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- from taipy .gui import Markdown
2
- from app import config as cfg
3
1
2
+ # NOT WORKING
3
+ # Generate page from Markdown file
4
+ # see company.py for example of use case
5
+ # class Page:
6
+ # def __init__(self, id: str):
7
+ # self.id = id
4
8
5
- class Page :
6
- def __init__ (self , id : str ):
7
- self .id = id
8
-
9
- def markdown (self ) -> Markdown :
10
- # caller = inspect.currentframe().f_back
11
- # print("PAGED Called from module", caller.f_globals['__name__'])
12
- # print(f"{cfg.PAGES_PATH}/{self.id}/{self.id}.md")
13
- return Markdown (f"{ cfg .PAGES_PATH } /{ self .id } /{ self .id } .md" )
9
+ # def markdown(self) -> Markdown:
10
+ # # caller = inspect.currentframe().f_back
11
+ # # print("PAGED Called from module", caller.f_globals['__name__'])
12
+ # # print(f"{cfg.PAGES_PATH}/{self.id}/{self.id}.md")
13
+ # return Markdown(f"{cfg.PAGES}/{self.id}/{self.id}.md")
You can’t perform that action at this time.
0 commit comments