Coder Social home page Coder Social logo

necromath.github.io's People

Contributors

necromath avatar

Watchers

 avatar

necromath.github.io's Issues

Template for vimwiki

<html>
<head>
    <link rel="Stylesheet" type="text/css" href="%root_path%style.css" />

	<!-- Begin of MathJax Code -->
	<!-- The following codes are for mathjax -->
	<!-- First we include some packages. -->
	<script type="text/x-mathjax-config">
	  MathJax.Hub.Config({ TeX: {
	  extensions: [	"autobold.js",
			"AMSmath.js",
			"AMSsymbols.js",
			"AMScd.js",
			"color.js"]
	  }});
	</script>
	<!-- Secondly, here are some settings -->
		<script>
		MathJax = {
	  tex: {
	    inlineMath: [['$', '$'], ['\\(', '\\)']]
	  },
	  svg: {
	    fontCache: 'global'
	  }
	};
	</script>
	<script type="text/javascript" id="MathJax-script" async
	  <!-- src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex&#45;svg.js"> -->
	  src="/home/lechen/.config/MathJax/es5/tex-svg.js"> </script>
	<script src="/home/lechen/.config/MathJax/es5/tex-chtml.js" id="MathJax-script" async></script>
	<!-- End of MathJax Code -->

	<!-- Begin of Statcounter Code -->
	<script type="text/javascript">
		var sc_project=12346340;
		var sc_invisible=1;
		var sc_security="15d6d37d";
	</script>
	<script type="text/javascript" src="https://www.statcounter.com/counter/counter.js" async>
	</script>
	<noscript>
		<div class="statcounter">
			<a title="Web Analytics" href="https://statcounter.com/" target="_blank">
				<img class="statcounter" src="https://c.statcounter.com/12346340/0/15d6d37d/1/" alt="Web Analytics">
			</a>
		</div>
	</noscript>
	<!-- End of Statcounter Code -->



	<!-- Begin of JavaScript Code for updated date -->
	<!-- source: http://www.chami.com/tips/internet/041198I.html -->
	<script type="text/JavaScript" language="JavaScript">
	<!--
	//
	// format date as dd-mmm-yy
	// example: 12-Jan-99
	//
	function date_ddmmmyy(date)
	{
	  var d = date.getDate();
	  var m = date.getMonth() + 1;
	  var y = date.getYear();

	  // handle different year values
	  // returned by IE and NS in
	  // the year 2000.
	  if(y >= 2000)
	  {
	    y -= 2000;
	  }
	  if(y >= 100)
	  {
	    y -= 100;
	  }

	  // could use splitString() here
	  // but the following method is
	  // more compatible
	  var mmm =
	    ( 1==m)?'Jan':( 2==m)?'Feb':(3==m)?'Mar':
	    ( 4==m)?'Apr':( 5==m)?'May':(6==m)?'Jun':
	    ( 7==m)?'Jul':( 8==m)?'Aug':(9==m)?'Sep':
	    (10==m)?'Oct':(11==m)?'Nov':'Dec';

	  return "" + (d<10?"0"+d:d) + "-" + mmm + "-" + (y<10?"0"+y:y);
	}


	//
	// get last modified date of the
	// current document.
	//
	function date_lastmodified()
	{
	  var lmd = document.lastModified;
	  var s   = "Unknown";
	  var d1;

	  // check if we have a valid date
	  // before proceeding
	  if(0 != (d1=Date.parse(lmd)))
	  {
	    s = "" + date_ddmmmyy(new Date(d1));
	  }

	  return s;
	}

	//
	// finally display the last modified date
	// as DD-MMM-YY
	//
	document.write(
	  "This page was updated on " +
		date_lastmodified() );
	// -->
	</script>
		for <small>Math 221 Fall 2020 at Emory</small>.
	<!-- End of JavaScript Code for updated date -->

	<title>%title%</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>



<body>
    <!-- <a href="%root_path%index.html">Index</a>  -->
    <!-- |<a href="%root_path%diary/diary.html">Diary</a> | Something else -->
    <hr>
    <div class="content">
    %content%
    </div>
<hr>
<center>&copy; Nacromath, Auburn, 2022. </center>
</body>
</html>

Suggestions on vimwiki setup

The following is from my setup, which may be useful for you.

"{{{ wiki_github_Homepage
let wiki_Github_Homepage = {}
let wiki_Github_Homepage.path = '$HOME/Dropbox/workspace/svn/chenle02.github.io/vimwiki'
let wiki_Github_Homepage.path_html = '$HOME/Dropbox/workspace/svn/chenle02.github.io/'
let wiki_Github_Homepage.template_path = '$HOME/Dropbox/vimwiki/templates/'
let wiki_Github_Homepage.template_default =  'Github'
let wiki_Github_Homepage.template_ext = '.html'
"}}}
let g:vimwiki_list = [
      \ wiki_default,
      \ wiki_Math7800_2022Fall,
      \ wiki_Math7000_2022Fall,
      \ wiki_Math7210_2022Spring,
      \ wiki_Homepage,
      \ wiki_Github_Homepage,
      \ ]
"}}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.