Different rendering between .Rmd and .Rmarkdown when using blogdown












0















I have found some strange differences in the way .Rmd files are rendered compared to .Rmarkdown.
My setup:
Beautiful hugo theme
Blogdown 0.9
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
If change the file extension between Rmd and Rmarkdown, I observe the following differences:




  1. Rmd doesn't render multi level lists properly

  2. Rmd doesn't render footnotes [^1] properly

  3. Rmarkdown doesn't render math properly

  4. Python code chunks don't have a nice little execute button in the upper right in Rmd.


Is this expected behavior? Is there something with the theme that causes this?










share|improve this question



























    0















    I have found some strange differences in the way .Rmd files are rendered compared to .Rmarkdown.
    My setup:
    Beautiful hugo theme
    Blogdown 0.9
    Platform: x86_64-w64-mingw32/x64 (64-bit)
    Running under: Windows >= 8 x64 (build 9200)
    If change the file extension between Rmd and Rmarkdown, I observe the following differences:




    1. Rmd doesn't render multi level lists properly

    2. Rmd doesn't render footnotes [^1] properly

    3. Rmarkdown doesn't render math properly

    4. Python code chunks don't have a nice little execute button in the upper right in Rmd.


    Is this expected behavior? Is there something with the theme that causes this?










    share|improve this question

























      0












      0








      0








      I have found some strange differences in the way .Rmd files are rendered compared to .Rmarkdown.
      My setup:
      Beautiful hugo theme
      Blogdown 0.9
      Platform: x86_64-w64-mingw32/x64 (64-bit)
      Running under: Windows >= 8 x64 (build 9200)
      If change the file extension between Rmd and Rmarkdown, I observe the following differences:




      1. Rmd doesn't render multi level lists properly

      2. Rmd doesn't render footnotes [^1] properly

      3. Rmarkdown doesn't render math properly

      4. Python code chunks don't have a nice little execute button in the upper right in Rmd.


      Is this expected behavior? Is there something with the theme that causes this?










      share|improve this question














      I have found some strange differences in the way .Rmd files are rendered compared to .Rmarkdown.
      My setup:
      Beautiful hugo theme
      Blogdown 0.9
      Platform: x86_64-w64-mingw32/x64 (64-bit)
      Running under: Windows >= 8 x64 (build 9200)
      If change the file extension between Rmd and Rmarkdown, I observe the following differences:




      1. Rmd doesn't render multi level lists properly

      2. Rmd doesn't render footnotes [^1] properly

      3. Rmarkdown doesn't render math properly

      4. Python code chunks don't have a nice little execute button in the upper right in Rmd.


      Is this expected behavior? Is there something with the theme that causes this?







      rstudio blogdown






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 3 at 4:09









      Michael JohnsonMichael Johnson

      132




      132
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Yes the difference between .Rmd and .Rmarkdown is expected and Yihui et al. outlines it in their book (it's around the middle of the page)




          There are two major limitations of using .Rmarkdown compared to .Rmd:


          • You cannot use Markdown features only supported by Pandoc, such as citations. Math expressions only work if you have installed the xaringan package (Xie 2018d) and applied the JavaScript solution mentioned in Section B.3.


          • HTML widgets are not supported.




          The main thing to note is that .Rmarkdown gets coverted to .markdown documents first and gets parsed onto Blackfriday to generate a html while .Rmd uses Pandoc.






          share|improve this answer



















          • 1





            Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

            – Michael Johnson
            Jan 3 at 4:38











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54016241%2fdifferent-rendering-between-rmd-and-rmarkdown-when-using-blogdown%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Yes the difference between .Rmd and .Rmarkdown is expected and Yihui et al. outlines it in their book (it's around the middle of the page)




          There are two major limitations of using .Rmarkdown compared to .Rmd:


          • You cannot use Markdown features only supported by Pandoc, such as citations. Math expressions only work if you have installed the xaringan package (Xie 2018d) and applied the JavaScript solution mentioned in Section B.3.


          • HTML widgets are not supported.




          The main thing to note is that .Rmarkdown gets coverted to .markdown documents first and gets parsed onto Blackfriday to generate a html while .Rmd uses Pandoc.






          share|improve this answer



















          • 1





            Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

            – Michael Johnson
            Jan 3 at 4:38
















          1














          Yes the difference between .Rmd and .Rmarkdown is expected and Yihui et al. outlines it in their book (it's around the middle of the page)




          There are two major limitations of using .Rmarkdown compared to .Rmd:


          • You cannot use Markdown features only supported by Pandoc, such as citations. Math expressions only work if you have installed the xaringan package (Xie 2018d) and applied the JavaScript solution mentioned in Section B.3.


          • HTML widgets are not supported.




          The main thing to note is that .Rmarkdown gets coverted to .markdown documents first and gets parsed onto Blackfriday to generate a html while .Rmd uses Pandoc.






          share|improve this answer



















          • 1





            Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

            – Michael Johnson
            Jan 3 at 4:38














          1












          1








          1







          Yes the difference between .Rmd and .Rmarkdown is expected and Yihui et al. outlines it in their book (it's around the middle of the page)




          There are two major limitations of using .Rmarkdown compared to .Rmd:


          • You cannot use Markdown features only supported by Pandoc, such as citations. Math expressions only work if you have installed the xaringan package (Xie 2018d) and applied the JavaScript solution mentioned in Section B.3.


          • HTML widgets are not supported.




          The main thing to note is that .Rmarkdown gets coverted to .markdown documents first and gets parsed onto Blackfriday to generate a html while .Rmd uses Pandoc.






          share|improve this answer













          Yes the difference between .Rmd and .Rmarkdown is expected and Yihui et al. outlines it in their book (it's around the middle of the page)




          There are two major limitations of using .Rmarkdown compared to .Rmd:


          • You cannot use Markdown features only supported by Pandoc, such as citations. Math expressions only work if you have installed the xaringan package (Xie 2018d) and applied the JavaScript solution mentioned in Section B.3.


          • HTML widgets are not supported.




          The main thing to note is that .Rmarkdown gets coverted to .markdown documents first and gets parsed onto Blackfriday to generate a html while .Rmd uses Pandoc.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 3 at 4:26









          EmiEmi

          1,68129




          1,68129








          • 1





            Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

            – Michael Johnson
            Jan 3 at 4:38














          • 1





            Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

            – Michael Johnson
            Jan 3 at 4:38








          1




          1





          Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

          – Michael Johnson
          Jan 3 at 4:38





          Thanks for the helpful response. I read the whole book and tried to look back at it but I missed this.

          – Michael Johnson
          Jan 3 at 4:38




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54016241%2fdifferent-rendering-between-rmd-and-rmarkdown-when-using-blogdown%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          generate and download xml file after input submit (php and mysql) - JPK

          Angular Downloading a file using contenturl with Basic Authentication

          Can't read property showImagePicker of undefined in react native iOS