Nicole's Digital Garden

Powered by 🌱Roam Garden

PDF highlighter

window.pdfParams = {
  //Highlight 
  ///Placement
  outputHighlighAt: 'cousin', //cousin, child
  highlightHeading: '**Highlights**', //for cousin mode only 
  appendHighlight: true, //append: true, prepend: false
  ///Rest of Highlight Options
  breadCrumbAttribute: 'Title', //Title, Author, Citekey, etc. 
  addColoredHighlight: true,//bring the color of highlights into your graph
  //Rerference to Highlight 
  ///Block References Related
  copyBlockRef: true,//false: copy captured text
  sortBtnText: 'sort them all!',//{{sort them all!}} button will sorted highlight references.
  ///Block Reference Buttons  
  aliasChar: '✳', //use '' to disable
  textChar: 'T', //use '' to disable    
  //PDF Viewer
  pdfMinHeight: 900,
  //Citation 
  ///Format   
  ////use Citekey and page in any formating string 
  ////page can be offset by `Page Offset` attribute. 
  ////common usecase: 
  /////Zotero imports with 'roam page title' = @Citekey and Citekey attribute
  ////examples:
  /////"[${Citekey}]([[@${Citekey}]])" 
  /////"[(${Citekey}, ${page})]([[@${Citekey}]])" 
  /////use '' to disable  
  citationFormat: '',
  ///BlockQuote 
  blockQPerfix: ''//use '' to disable. Alternatives are: > or [[>]].
};
var s = document.createElement("script");
s.type = "text/javascript";
s.src = "https://c3founder.github.io/Roam-Enhancement/enhancedPDF.js";
document.getElementsByTagName("head")[0].appendChild(s);

Referenced in

ccc

how we met: coder of pdf highlighter an advanced user of Roam Research

Cosma Shalizi

how we met: I found he is an interesting person, a tenured professor in CMU (same as Joel Chan) in statistics field and has been in Madison for a while. The whole story about how I met him was long and complex. I was mainly focused on the new Roam Research course at the very beginning. Then I tried to find out about the PDF highlighter, then I found it's coder also has posted some other hard work video on Youtube (a very much helpful video if someone need to read All of Statistics), also he seems to be very familiar with Albric. So I tried to find out more about ccc, in his late tweet, I found he seems to be a tenured professor and he reposted a link, which then refers to a wayback machine page, this was something that Cosma wrote when he was 40 (which is 14 years ago, on the day he got his tenured track). The article seems sad and depressed. Then I tried to search more about this guy.