This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# NEED TO configure | |
##uses dropbox_uploader script on github | |
BITPORT_USERNAME=email_address | |
BITPORT_PASSWORD=password | |
DROPBOX_FOLDER=foldername | |
URL=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{$tablename:="table"}} {{ (printf "%s%s" "$.Page.Params." $tablename) }} | |
<table class=" rtable"> table table-striped table-sm | |
{{$count :=0}} | |
{{$colname := slice }} | |
{{ $.Page.Params}} | |
{{ range $.Page.Params.table }} | |
{{ if eq $count 0}} | |
<thead> | |
{{ range . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
filename = "filemarkdown.md" | |
## OPEN FILE READ TO FILEDATA | |
f = open(filename,'r', encoding="utf-8") | |
newdata = f.read() | |
f.close() | |
#REPLACE wierd characters |